[wp-trac] [WordPress Trac] #19063: Custom post_types and get_template_part

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 27 16:34:49 UTC 2011


#19063: Custom post_types and get_template_part
-------------------------+------------------------------
 Reporter:  impleri      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Template     |     Version:
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by scribu):

 Please try not to post big walls of text; it's hard to follow.

 I was hoping for a few short examples, in the form of: "When loading URL
 X, with line of code Y, I can load template Z."

 > I disagree on using something like locate_template() for a few reasons.

 I wasn't suggesting going lower down the stack, but higher i.e. to
 get_archive_template() etc. as you later suggest.

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


More information about the wp-trac mailing list