[wp-trac] [WordPress Trac] #19296: add/apend templates 'transparently' via plugin to currently active theme or child theme.

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 19 02:42:41 UTC 2011


#19296: add/apend templates 'transparently' via plugin to currently active theme or
child theme.
-------------------------+------------------------------
 Reporter:  anointed     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by anointed):

 @dd32
 If I can get my plugin to append the template files then I am able to take
 care of the issue you mention without problems.

 Long story short, I have the user input the top portion of their page.php
 file and save that as a variable in a plugin admin panel. The same thing
 is done for the second half of their page.php file. *my custom code is
 basically inserted between the variables in the template files.

 I then call these variables in the opening and closing portions of my
 custom templates, thus making it work on almost all themes and only
 requiring a small amt of work by the user.

 My problem is not having a way for my plugin to append all these new
 templates to the users currently active theme. That is what I am looking
 for.

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


More information about the wp-trac mailing list