Insert Blocks Before or After Posts Content
Insert Blocks Before or After Posts Content
Description
This plugin gives the capability to automatically add content before and/or after your posts, pages, or any public custom post types.
It is also possible to prevent your before/after content from showing on a post or a page directly from the editor screen (works on both Classic Editor and Block Editor). You can also prevent your before/after content from displaying on specific post types or categories.
With this plugin, build your before/after content within the Gutenberg block editor, even if you are using Classic Editor!
Indeed, the block editor is activated for these specific blocks of contents even if Gutenberg is not activated on your website!
I strongly recommend to use it alongside one of my other free plugins, Reusable Blocks Extended. These two plugins are totaly independant, but together they provide a full editorial experience! ⭐️
Installation
- Activate the plugin.
- Go to
Appearance > Before/after contentto create content blocks and to choose your settings. - Save your changes and enjoy 🙂
Screenshots
Faq
No worries! It will work even with Classic Editor activated!
The plugin restores Gutenberg block editor for the wp_block post type only.
Of course, nothing will change for your other post types.
Reviews
Doesn't work with AddToAny plugin
By ajachocki on January 17, 2024
It seems that this plugin doesn't register its content (template type) well. And because of that it doesn't work with AddToAny plugin.
Very handy
By Li-An on March 29, 2022
Polylang Support
By Graydon Schwartz (graydonschwartz) on May 22, 2021
Very good plugin ! And free more...
By Millenium5454 (millenium5454) on March 19, 2021
A Good, Clean Solution
By acrodillo (litfod) on May 11, 2020
Exactly what I needed
By Amy (synthea) on February 18, 2020
Changelog
0.3
- Properly parse block. Props @maxpertici and @vinvinXD. See https://twitter.com/vinvinXD/status/1496927854885539851 for context.
0.2.1
- Fixes a PHP warning on front-end. Props Aurélien Denis (@maigret).
0.2
- Internationalization fixes and WP 5.6 compatibility.
0.1
- Plugin initial version. Works fine.



