[wp-hackers] Child themes, and DB options

scribu scribu at gmail.com
Thu Sep 17 23:55:46 UTC 2009


Perhaps you could also correct the Codex page, so that other users won't be
mislead.

On Thu, Sep 17, 2009 at 10:28 PM, [ ravi ] <ravi-lists at g8o.net> wrote:

> On Sep 17, 2009, at 1:27 PM, Otto wrote:
>
>>
>> TEMPLATEPATH is the path to the parent theme directory. Always.
>>
>>
> Ah! I got misled by this bit in the Codex:
>
> =======
>
> <?php get_sidebar('right'); ?>
> Causes the template TEMPLATEPATH . 'sidebar-right.php' to be included. ...
>
> =======
>
> From the above, I assumed that TEMPLATEPATH would point to the child theme
> directory (so that template PHP files -- e.g: sidebar-right.php -- get
> picked up from the child).
>
> Thank you for the correction Otto, and the advice Otto and Tynan.
>
>
>        --ravi
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
http://scribu.net


More information about the wp-hackers mailing list