[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:46:14 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 SergeyBiryukov):

 I like Otto's idea of using `get_template_part()`.

 Plugins could then hook to `get_template_part_content_after`, assuming
 that more themes would use `get_template_part( 'content', 'single' )`.

 In this case, don't we need a way for plugins to determine when to use
 `get_template_part_content_after` and when to fall back to `the_content`?

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


More information about the wp-trac mailing list