bloginfo('template_directory') doesn't work ?
-
this is my code
<img class=”main” src=<?php bloginfo(‘template_directory’); ?>”images/main.jpg” />
When i view source it pointed out to the right directory.
<img src=”https://localhost/wordpress/wp-content/themes/coffeetree/images/main.jpg”
but the image didn’t appear ? really confused .. i have been using the bloginfo for my other themes , but didn’t work this time ..
Really confused now , your help will be much appreciated , anyone ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘bloginfo('template_directory') doesn't work ?’ is closed to new replies.