Created
December 6, 2012 22:26
-
-
Save werm/4229059 to your computer and use it in GitHub Desktop.
WP Template Directory Path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#returns the active template directory | |
<?php bloginfo('template_directory'); ?> | |
#returns URL of web root | |
<?php bloginfo('url'); ?> | |
#returns blog name | |
<?php bloginfo('title'); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment