[wp-trac] [WordPress Trac] #13239: Filter locate_template template_names variable

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 28 01:44:35 UTC 2010


#13239: Filter locate_template template_names variable
--------------------------+-------------------------------------------------
 Reporter:  chrisbliss18  |       Owner:                 
     Type:  enhancement   |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  3.0            
 Severity:  normal        |    Keywords:  has-patch      
--------------------------+-------------------------------------------------
Changes (by idealien):

 * cc: idealien (added)


Comment:

 Was going to submit a similar enhancement but will merely add the use case
 I was thinking of for +1 validation of the potential for this.

 A plugin creates custom post type(s) and has output that currently can be
 handled by shortcodes / widget and css modifications. Having the ability
 to register a template part would make for a more consistent
 implementation at the theme level as well as giving reference code for
 those customization situations were CSS alone is insufficient.

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


More information about the wp-trac mailing list