Image in Template Troubles
-
I’m working on a child theme to TwentyTwelve, and I’m trying to display an image on the template. I am using this tidbit within the img tag…
<?php echo get_bloginfo('template_directory');?>
…but it’s looking for the image in the parent theme instead of the child, and so the image isn’t displaying. I need it to pull from the child directory.
Is there a different bit of code I should be using, or an alternate way to set it up?
Thanks in advance.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Image in Template Troubles’ is closed to new replies.