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

WordPress Trac noreply at wordpress.org
Wed Feb 22 00:26:01 UTC 2017


#18561: Better Way to Insert Things Below Individual Posts
-------------------------+----------------------
 Reporter:  jane         |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  3.2.1
 Severity:  minor        |  Resolution:  wontfix
 Keywords:               |     Focuses:
-------------------------+----------------------

Comment (by jb510):

 Replying to [comment:129 jdgrimes]:
 > I that this idea is partly missing the mark, and at this point, time
 would be better spent pursuing the idea of content blocks, which would
 allow plugins to make bits of content available, and users would be able
 to arrange them around the post as they see fit. Rather than the location
 being hard-coded by the plugin based on assumptions about what the theme
 will look like...

  I think content blocks are one of the best proposals to come along in
 quite a while, but they have nothing to do with this ticket or what this
 ticket aims to provide.  Content blocks, are for
 organizing/controlling/editing content that falls within the post_content
 space.

 This ticket, as I understand it,  is about adding a universal hook for
 adding non-content outside the post_content space. I.e. Share buttons,
 related posts, ads, but so, calls to action, and anything else one might
 dream up. StudioPress's Genesis theme has an entry_header and entry_footer
 hook, its more like those, but as you've seen above the idea is to have it
 be a non-location specific "extras" or "intents".  I still don't really
 see how those get used effectively in practice but love the concept.

 The problem is the idea that plugins can use these, without accounting for
 what fits where...  I think we would be better using before/after and
 letting plugins offer a setting to select which should be used, and with
 what priority.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18561#comment:130>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list