[wp-testers] template_directory ? childtheme_directory ?

Demetris kikizas at gmail.com
Fri Jan 8 23:41:21 UTC 2010


On Sat, Jan 9, 2010 at 12:28 AM, John Asbacher <john.asbacher at gmail.com> wrote:
> WP 2.9.1
>
> Using template_directory does not allow finding the file in the child theme
> directory at all.
>
SNIP
>
>
I assume this message ended up in the wrong list. :-) But, anyway...

As far as I understand:  What makes a child theme a child theme is
that it declares (in style.css) a template directory different than
its own directory.  And that’s what bloginfo('template_directory')
echoes:

The template directory declared by the active theme.

(When the active theme does not declare a template dir, as is the case
with themes that are not child themes, the template directory is
assumed to be the same as the stylesheet directory.)

This is all intentional.  What is it that you are trying to do?

Cheers!

Demetris
http://op111.net/


More information about the wp-testers mailing list