[wp-trac] [WordPress Trac] #13691: Make get_template_part() accept multiple template names

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 10 21:59:15 UTC 2010


#13691: Make get_template_part() accept multiple template names
-------------------------+--------------------------------------------------
 Reporter:  wjm          |       Owner:                
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  Future Release
Component:  Template     |     Version:                
 Severity:  normal       |    Keywords:  needs-patch   
-------------------------+--------------------------------------------------

Comment(by scribu):

 Replying to [comment:6 wjm]:
 > Allowing get_template_part() to take a second argument, allows theme
 designers to use "contextual" template parts.
 > Letting them extend themes based on different situations.

 I think a better way to go about this would be #12877.

 Suggest closing as duplicate.

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


More information about the wp-trac mailing list