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

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

 Replying to [comment:58 johnjamesjacoby] and [comment:56 Otto42]:
 Adding one or more of these filters would help with the HTML E-Mails too
 since it wraps get_template_part in order to load a template from
 somewhere other than TEMPLATEPATH or STYLESHEETPATH

 Replying to [comment:59 johnjamesjacoby]:
 You're right.  Those are poorly named, but I think they're still what you
 want.  Maybe 'before_post' and 'after_post' or maybe call it something
 completely different like 'post_extras' as someone above mentioned.  I
 just think it needs to be paired with the `add_theme_support()` bit so
 that plugins can fall back.  This way plugins still WORK on all themes but
 work BETTER on themes that support this.

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


More information about the wp-trac mailing list