In my custom theme and multisite installation, I’m trying to output an image tag. The code I’m using is:
<br /> <img class="pipe-img" src="<?php bloginfo('template_url') ?>/img/logo-pipe.jpg" /><br />
This produces the following tag:
<br /> <img class="pipe-img" src="http://polico.simdad.com/wp-content/themes/polico/img/logo-pipe.jpg" /><br />
This should work, except it doesn’t. It leads to a WordPress 404 page that says this page doesn’t exist.
I have refreshed my permalinks by going to settings > permalinks and clicking on save so that the .htaccess would get regenerated. However, I still have no luck.
[mod: moved to ‘Multisite’]
- The topic ‘Image Tag Not Working’ is closed to new replies.