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

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 1 14:29:26 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):

 Replying to [comment:32 scribu]:
 > That doesn't fix anything.

 It doesn't specifically fix the issue brought up by Jane, but no single
 solution is going to do that. WordPress is due to have some strategically
 placed hooked that file before/after elements in the loop, without having
 to rely on theme developers putting in those `do_action` references
 manually, IOW work with existing template tags.

 Some already exist (your example of the loop hooks), and some need to be
 created (before/after content, before/after comments template,
 before/after comment elements, etc.).

 New template tags like `the_rest()` are probably a good idea too. It'll be
 a while before they catch on, but they will eventually. (especially if
 made part of the standards on WordPress.org Extend).

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


More information about the wp-trac mailing list