[wp-testers] template_directory broken when using child themes

Thord Daniel Hedengren tdh at tdhedengren.com
Fri Oct 31 13:47:07 GMT 2008


Hi,
Stumbled onto this one just now. When using child themes (addon themes or
whatever you want to call them), the bloginfo('template_directory') will
point to the template theme, not the child theme, even if you use it within
the chile theme's template files.

A child theme is a theme that relies on another theme for most things. The
relationship is established in the child theme's style.css.

Is there a new template_directory solution to reach the child theme's
directory, or do we need to hack around this somehow?

Thanks,
TDH / tdhedengren.com

-- 
MVH/Regards,
Thord Daniel Hedengren

NETWORK / www.pakten.se / ME / www.tdhedengren.com + www.tdh.se /
CORPORATE / www.cylinderlabs.com / Cylinder Labs AB, Sommargatan 24, 272 37
Simrishamn, Sweden


More information about the wp-testers mailing list