[Resolved] Coding an image link in a child theme
I’m making a child theme and want to code a link to a logo into the header. But when I use
<img src="<?php bloginfo('template_directory'); ?>/img/logo.png" />it is looking in the parent directory not the child.
Any idea how – without hardcoding the URL – I can get to the img folder in the child theme?
- The topic ‘[Resolved] Coding an image link in a child theme’ is closed to new replies.