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

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 1 17:51:23 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 helenyhou):

 Replying to [comment:45 Otto42]:

 Thanks for taking the time to explain it to me, Otto. I appreciate it, and
 it makes more sense now.

 > > What if it should be attached to a completely different template part
 depending on context?
 >
 > A plugin could provide an option to do that, if it was desired. That
 sorta depends on what the plugin does.

 I guess I see this as something a theme author should usually be in
 control of instead of relying on a plugin to do the right thing, at least
 in the original context of sharing plugins and the like. To me it still
 makes more sense to keep these items a little more conceptually separate
 from the body of content itself, even just in terms of placement. It seems
 like we're talking about a funny middle ground between postmeta and
 comments and some are stuck on it being attached to the content (or
 `the_content`).

 I personally would still prefer something separate, even if it's something
 like a standardized `get_template_part('the_rest')`. And then having
 contextual hooks for `get_template_part()` would make it even better!

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


More information about the wp-trac mailing list