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

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 2 17:18:07 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 ev3rywh3re):

 I think an additional template tag function is appropriate and usable as
 it won't break anything new. I like the name the_post_extras() and as a
 template function you could pretty much wrap as much complex junk as you
 wan into it.


 {{{
 the_post_extras( 'extra_name', 'place_before_after_etc',
 'type_templatePart_action' );
 }}}

 Something like that maybe? Without arguments it does some expected
 defaults? You can make some wrappers like {{{the_post_extras_before()}}}
 {{{the_post_extras_after()}}} to give some simple help.

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


More information about the wp-trac mailing list