[wp-trac] [WordPress Trac] #15803: Page Templates within Plugins

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 20 16:40:51 UTC 2010


#15803: Page Templates within Plugins
-----------------------------+------------------------------
 Reporter:  sterlo           |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:  3.0.3
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by sterlo):

 FYI: The current way to I am having to get this to do what I want it to do
 is add a call to template_redirect, then use die() after including my file
 (which has to include the header and footer templates from the theme) and
 then I have the plugin inject a category with the same slug as my custom
 post type (if I don't...it displays the content properly but returns a
 404).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15803#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list