How to remove code


Author Message
S Dawkins

Posted: 3/24/2009
Quote message 

I want to be able to remove the !art from the below code, to make it appear like regular WP code, however, what does the below refer to? Which other files would I need to edit (this one is from sidebar1.
Hope that makes sense. I have looked at index, page, singe, etc and can't find reference to !art_sidebar1......



<?php if (!art_sidebar(1)): ?>


Thanks!
 
Marc Smith

Posted: 3/24/2009
Quote message 

Why would you want to remove that code?

It serves a purpose the utilizes functions referred to in other PHP code that helps to call the functions for the sidebar.
 
S Dawkins

Posted: 3/24/2009
Quote message 

I just want it to look like other WP scripts w/o the art part. look more the 'norm'.
 
Marc Smith

Posted: 3/25/2009
Quote message 

In other words, to remove any possible similarity to other Artisteer code and themes out there?

You could remove that wording and then you would have tro scour all the PHP code that references the function (!art_sidebar(1))

Honestly, it's easier to leave that in and not risk breaking the functionality of the theme.
 
S Dawkins

Posted: 3/25/2009
Quote message 

Oops, I meant WP Themes not WP scripts.

Ok, so Artisteer puts other code within the themes as well then? I was working on adding functions on a theme and editing all php files, and didn't see where it was called anywhere.
 
Marc Smith

Posted: 3/25/2009
Quote message 

Well, take that code out and see what it breaks, then you'll have an idea of where to look.
 
S Dawkins

Posted: 3/30/2009
Quote message 

Quote Marc Smith:

Well, take that code out and see what it breaks, then you'll have an idea of where to look.


Actually went through the whole thing, removed all the art and nothing broke :)

Having to do this because now can't submit to Wordpress.org .... hopefully will be able to now :)