Better Way to Insert Things Below Individual Posts
|Reported by:||jane||Owned by:|
More and more plugins want to drop stuff in below each post (especially common among plugins focused on encouraging the sharing of content). There's not really a great way to do it, though, if your single-post-area doesn't end with the last line of body text. Many themes put the byline/date/metadata below -- rather than above, which used to be the norm -- the post content, including our own Twenty Eleven. See the screenshot to see how ugly it is when a plugin (or two, or more) uses the the_content filter to insert something at the "end" of each post.
Inserting the sharing and like rows (in this example) at the bottom of the post text before the byline/classification metadata seems wrong. It should go below that, so it is closely related to commenting, not part of the content itself. The plugin-generated widget is not "by" the post author, after all.
I have been told that options for addressing this are basically either modifying the theme and/or getting a new filter in place. Whatever we need to do, let's do it, because misplacing plugin-provided tools inside the content rather than after it is a) really bad IA, and b) crazy ugly.
Change History (136)
comment:22 in reply to: ↑ 21 ; follow-up: ↓ 28 @cochran — 4 years ago
comment:32 in reply to: ↑ 31 ; follow-up: ↓ 33 @scribu — 4 years ago
comment:35 @SergeyBiryukov — 4 years ago
comment:38 @DrewAPicture — 4 years ago
- Cc xoodrew@… added