Quote:
Originally Posted by housekeeper
Are you suggesting this:
<img src="image/logo.png" alt="" />
and excluding this as well:
<?php } else if(get_option(THEME_PREFIX . "logo")) { ?>
That's too easy, I still want to know what the 'data' function is
|
yes, that's what I'm saying. Sorry if it's too easy a solution.. I'll try and come up with something far more complicated next time...
Just a guess without seeing the full code.. the 'data' function is a reference to an internal image feature for the theme. More than likely, when a theme image is properly uploaded, the image URL is stored in the WP database and associated with the 'data' marker in place in the code. When the script hits that marker, it is used for the query to determine the correct filename/path to insert into the final rendered code.
But that's just me guessing
