[wp-hackers] Template Hierarchy In A Plugin
scribu
scribu at gmail.com
Sun Aug 7 18:45:05 UTC 2011
On Sun, Aug 7, 2011 at 8:01 PM, Alex Andrews <awgandrews at gmail.com> wrote:
> Thanks very much. That's sort of what I meant, however, what I really
> wanted is the ability to 'virtually' extend the template directory. So I
> could just run a filter or function then the directory ribcage/templates
> (say) would be a directory that is also automatically searched for the
> template of my custom post type. Might this be a good thing to suggest in a
> patch if it doesn't exist?
>
You mean like this:
http://core.trac.wordpress.org/ticket/12877
--
http://scribu.net
More information about the wp-hackers
mailing list