How do you add an image source to a WordPress template file?
-
I seem to be having a problem linking my image. I’m trying to link the logo.svg to my header , yet it’s not working. My folder structure is down below. I believe It’s linking to the right path.
<img src=”<?php bloginfo(‘template_directory’); ?>/logo.svg” />
- The topic ‘How do you add an image source to a WordPress template file?’ is closed to new replies.