I have the php widget similar to the text widget in which i want to display an image that is also a hyperlink… i have this code and it will show the size of the image for one second upon loading, then as if not finding it collapses the widget.
<p><a href="http://www.sandmangourmet.com/"> <img border="0" src=<?php bloginfo('template_directory'); ?>/images/sandman.jpg" width="152" height="152"></a></p>
is this wrong? i cannot figure out why it would not find the image. I have almost the same code in my header but for a different image. Any thoughts? Thanks for any help.
- The topic ‘PHP-using php-widget _ code not working’ is closed to new replies.