[wp-trac] [WordPress Trac] #18561: Better Way to Insert Things Below Individual Posts

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 1 17:45:30 UTC 2011


#18561: Better Way to Insert Things Below Individual Posts
-------------------------+------------------------------
 Reporter:  jane         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.2.1
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by nathanrice):

 I think adding contextual hooks to `get_template_part()` is a great idea.
 But a solution to the problem posed by the OT, it is not.

 A standard like `the_rest()` is FAR more likely to be adopted by the
 majority of theme authors than the use (or perhaps some would say,
 overuse) of `get_template_part()`. For instance, I could implement
 `the_rest()` in Genesis TOMORROW, whereas trying to use
 `get_template_part()` in Genesis would require much more work and
 forethought.

 A comprehensive solution (with before/after hooks firing in pre-existing
 template tags, introducing `the_rest()` or something similar, etc.) is
 long overdue.

 As for `the_loop()`, I agree with @Otto. It's not something that would be
 embraced very quickly, if at all.

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


More information about the wp-trac mailing list