Support » Networking WordPress » Image Tag Not Working

  • Resolved parham90



    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="" /><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’]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image Tag Not Working’ is closed to new replies.