[wp-hackers] TEMPLATEPATH in child themes

Daniel Cameron dan at sproutventure.com
Wed May 13 22:52:35 GMT 2009


>
> Also, the same principle applies when trying to get the URL of the template
> or child theme directory.
>
> bloginfo('stylesheet_directory');
> bloginfo('template_directory');
>

I believe stylesheet_directory was depracted, at least that would explains
why I'm running into an issue were it's not working on my current project. I
ended up using this instead:

dirname( get_bloginfo('stylesheet_url') )


More information about the wp-hackers mailing list