Codex tools: Log in
Contents |
Retrieve template directory Path for the current theme.
Note: Does not contain a trailing slash.
In the event a child theme is being used, the parent theme directory Path will be returned, use get_stylesheet_directory() to get the child theme directory Path.
<?php get_template_directory(); ?>
None.
Since: 1.5.0
get_template_directory() is located in wp-includes/theme.php.