Support » Theme: BlankSlate » get_template_directory_uri() not working

  • Resolved cluesew

    (@cluesew)


    When I try to use either:
    <img src="<?php bloginfo( 'template_directory' ); ?>/assets/somepicture.jpg">
    or
    <img src="<?php echo get_template_directory_uri(); ?>/assets/somepicture.jpg" >

    The theme outputs the HTML like this:
    <img somepicture.jpg"="" assets="" gregharrisestates="" themes="" wp-content="" ghe="" test="" fixxed.com="" src"http:="">

    I have deactivated all plugins and installed clean/untouched blankslate and the results are the same.

    Any insight to this issue? Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get_template_directory_uri() not working’ is closed to new replies.