[wp-hackers] Template Hierarchy In A Plugin

scribu scribu at gmail.com
Sun Aug 7 19:17:38 UTC 2011


On Sun, Aug 7, 2011 at 9:52 PM, Alex Andrews <awgandrews at gmail.com> wrote:

> Precisely like that! It is odd to me that this hasn't come up before -
> surely plugin developers find the need to theme custom post types their
> plugins will be adding?
>

You can style custom post types from plugins already, using
'template_redirect' + load_template() but it's pretty fragile and it's
something better left for themes to do, anyway.

-- 
http://scribu.net


More information about the wp-hackers mailing list