bloginfo(‘template_directory’); only works in header.php
-
Hi everyone,
I’m using <?php bloginfo(‘template_directory’); ?> to link to images in my theme folder. It works in header.php, the logo is there and all is well…but in index.php the same code snippet doesn’t return anything at all.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘bloginfo(‘template_directory’); only works in header.php’ is closed to new replies.