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

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 1 23:01:47 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 aaroncampbell):

 Replying to [comment:73 azaozz]:
 > Replying to [comment:70 aaroncampbell]:
 >
 > I'd imagine it working like this:
 >
 > [...]
 >
 > Perhaps that's a bit complicated. We still can make two new actions that
 are fired like the above functions.

 I suppose.  The problem is that this puts something at the end of the
 loop, but that's not guaranteed to be where a theme wants the "post
 extras" to go any more than the end of the_content is.  If we create
 common hooks that we encourage theme authors to use and then let plugins
 fall back to the_content (or exactly what you proposed above) then we can
 allow theme authors to decide where this kind of content goes, which I
 *think* is exactly who SHOULD decide...right?

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


More information about the wp-trac mailing list