[wp-trac] [WordPress Trac] #18561: Better Way to Insert Things Below Individual Posts
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 1 09:02:22 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 GaryJ):
+1 to Helen's / JJJ's idea about using post extras / the_rest.
The issue isn't where on the page (before, during, after element X) the
plugin output gets displayed, but which hook / filter they try and attach
to. Get that right, and supporting themes can display it wherever in their
theme they want. No need for any `add_theme_support()`, since themes
supporting it will be the ones calling `the_rest()`.
We have the_title, the_content, and the_comments, so it only makes sense
that there is the_rest / the_extras / the_tools / the_resources (or
whatever else might be a suitable name) for each post too.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18561#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list