[wp-trac] [WordPress Trac] #23142: Make it possible to "stem" an arbitrary prefix with the Template Hierarchy's "stemming" logic.

WordPress Trac noreply at wordpress.org
Tue Jan 8 15:16:59 UTC 2013


#23142: Make it possible to "stem" an arbitrary prefix with the Template
Hierarchy's "stemming" logic.
-----------------------------+------------------------------
 Reporter:  rulatir          |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:  3.5
 Severity:  normal           |  Resolution:
 Keywords:  close            |
-----------------------------+------------------------------

Comment (by alexvorn2):

 Replying to [comment:1 helen]:
 > Not completely sure I'm reading this right, but sounds like you're
 asking for exactly what `get_template_part()` does.
 With get_template_part we can not pass a custom variable, maybe this what
 author is asking..


 {{{
 <?php get_template_part_new( 'loop', 'index', $excerpt = true ); ?>
 }}}

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


More information about the wp-trac mailing list