How to reference the theme directory root in WordPress
<?php bloginfo('stylesheet_directory'); ?>
Something I have to hunt for every time I build a WordPress theme is the method of referencing images and other elements placed within the theme directory I’ve created. The code above is the means of doing this.
Tags: Life, Web design, Wordpress