I guess I'm missing something...
I have a hard-coded html img line in my theme, and the image doesn't work.
How come? and what can I do to fix it?
Sorry, I'm new to this.
-Eric
I guess I'm missing something...
I have a hard-coded html img line in my theme, and the image doesn't work.
How come? and what can I do to fix it?
Sorry, I'm new to this.
-Eric
Do i need something like this:
<a href="#"><img src="<?php include ("images/zoot-sidebar.png"); ?>" width="133" height="33" border="0" /></a>
?
sorry to be a nag...
I just don't get why html code won't generate in PHP.
I know it's probably something simple, I just don't get how it works.
:(
ok... apparently you have to write out the full path... i dunno why.
Because your theme directory isn't the top level.
Next time, try something like:
<img alt="your text" src="<?php bloginfo('stylesheet_directory'); ?>/images/your_image.png" width="16" height="16" />
for the image link.
This topic has been closed to new replies.