This function will return the theme directory URL so you can use it in other functions:
Alternatively, this function will echo the theme directory URL to the browser:
So an example for an image in the themes
images/headers folder would be:
<img src="<?php bloginfo('template_directory'); ?>/images/headers/image.jpg" />
Just what I was looking for! Short and to the point. Thanks!
Comments are closed.