How to reference the theme directory root in WordPress

April 30th, 2007

<?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: , ,