On Sat, Jan 9, 2010 at 5:20 AM, John Asbacher <[email protected]>wrote:

> What I'm trying to get across is...
>
> If you build a child theme and make a call with "template_directory" from
> within your child theme, I would expect that it would search the
> "child-theme" and if the file is not found there to then search in the
> "master-theme" directory.
>
> I might not even understand how child-themes really work. My assumption is
> that if you have a "child-theme" it will look there for the file and if it's
> not found to then look in the "master-theme" directory.
>
> Are there documents that explain this in detail?


You should be using the locate_template() function.


-- 
http://scribu.net
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to