[wp-hackers] Template Hierarchy In A Plugin

Alex Andrews awgandrews at gmail.com
Sun Aug 7 18:52:33 UTC 2011


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?

All the best,

Alex 

-- 
Alex Andrews
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Sunday, 7 August 2011 at 19:45, scribu wrote:

> On Sun, Aug 7, 2011 at 8:01 PM, Alex Andrews <awgandrews at gmail.com (mailto: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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com (mailto:wp-hackers at lists.automattic.com)
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list