• Resolved navets-stevan

    (@navets-stevan)


    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&#8221;

    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)
  • Thread Starter navets-stevan

    (@navets-stevan)

    really sorry everyhone forget to chmod .. in my own webserver … newbie mistake , really sorry again ..

Viewing 1 replies (of 1 total)
  • The topic ‘bloginfo('template_directory') doesn't work ?’ is closed to new replies.