Title: Insert Blocks Before or After Posts Content
Author: Jb Audras
Published: <strong>3 de desembre de 2019</strong>
Last modified: 28 d'agost de 2026

---

Cerca extensions

![](https://ps.w.org/insert-blocks-before-or-after-posts-content/assets/banner-772x250.
png?rev=2205947)

![](https://ps.w.org/insert-blocks-before-or-after-posts-content/assets/icon-256x256.
png?rev=2205947)

# Insert Blocks Before or After Posts Content

 Per [Jb Audras](https://profiles.wordpress.org/audrasjb/)

[Baixa](https://downloads.wordpress.org/plugin/insert-blocks-before-or-after-posts-content.0.3.zip)

 * [Detalls](https://ca.wordpress.org/plugins/insert-blocks-before-or-after-posts-content/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/insert-blocks-before-or-after-posts-content/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/insert-blocks-before-or-after-posts-content/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/insert-blocks-before-or-after-posts-content/#developers)

 [Suport](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/)

## Descripció

**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](https://wordpress.org/plugins/reusable-blocks-extended/).
These two plugins are totaly independant, but together they provide a full editorial
experience! ⭐️

## Captures

[⌊Plugin’s settings page⌉⌊Plugin’s settings page⌉[

Plugin’s settings page

[⌊Use block editor to edit your before/after content, even if you have Classic Editor
installed!⌉⌊Use block editor to edit your before/after content, even if you have
Classic Editor installed!⌉[

Use block editor to edit your before/after content, even if you have Classic Editor
installed!

[⌊Use the post metabox to edit your settings on a post by post basis (works on both
Classic and Gutenberg editors)⌉⌊Use the post metabox to edit your settings on a 
post by post basis (works on both Classic and Gutenberg editors)⌉[

Use the post metabox to edit your settings on a post by post basis (works on both
Classic and Gutenberg editors)

[⌊Front-end result with both before and after content⌉⌊Front-end result with both
before and after content⌉[

Front-end result with both before and after content

## Instal·lació

 1. Activate the plugin.
 2. Go to `Appearance > Before/after content` to create content blocks and to choose
    your settings.
 3. Save your changes and enjoy 🙂

## PMF

### But I’m still using Classic Editor!

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.

## Ressenyes

![](https://secure.gravatar.com/avatar/f3e18b4c71f5666b4aed15bf0c626183025b86ce95885cf1258c09b29875af00?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work with AddToAny plugin](https://wordpress.org/support/topic/doesnt-work-with-addtoany-plugin/)󠁿

 [ajachocki](https://profiles.wordpress.org/ajachocki/) 17 de gener de 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.

![](https://secure.gravatar.com/avatar/9786181f2ac82df1c2b05de1899533eadab7a16b5e6f7462d0c11f6abe6af6bd?
s=60&d=retro&r=g)

### 󠀁[Very handy](https://wordpress.org/support/topic/very-handy-261/)󠁿

 [Li-An](https://profiles.wordpress.org/li-an/) 29 de març de 2022

The Blocksy theme gives the opportunity to customize some features before and after
the content but prevent you to choose the order of eventual additional content you
may try to add in these places. This plugin is pretty cool as you can add all the
blocks you need in the order and composition you need.

![](https://secure.gravatar.com/avatar/1d69aeb082fdece67522c9602e4ceda5e53c9a405f32bb6329b2c505bbc47b2e?
s=60&d=retro&r=g)

### 󠀁[Polylang Support](https://wordpress.org/support/topic/polylang-support-32/)󠁿

 [Graydon Schwartz](https://profiles.wordpress.org/graydonschwartz/) 22 de maig 
de 2021

Great plugin! Would it be possible to add Polylang support? Multiple languages show
up but don't apply on page. Thank you for your consideration! 🙂

![](https://secure.gravatar.com/avatar/a82598fb404f7b4c6f30f3a6fe5a8066da5783c4fc27ec0f505716414475ceb7?
s=60&d=retro&r=g)

### 󠀁[Very good plugin ! And free more…](https://wordpress.org/support/topic/very-good-plugin-and-free-more/)󠁿

 [Millenium5454](https://profiles.wordpress.org/millenium5454/) 19 de març de 2021

Thanks a lot ! Plugin good quality and very good function. Fred.

![](https://secure.gravatar.com/avatar/0823d8baee66d0a1548e9a5ce3876e3c963261bf3a45f048f076930cf51efe55?
s=60&d=retro&r=g)

### 󠀁[A Good, Clean Solution](https://wordpress.org/support/topic/a-good-clean-solution/)󠁿

 [acrodillo](https://profiles.wordpress.org/litfod/) 11 de maig de 2020

This plugin is very straightforward and allows you to design before & after sections
for your posts and pages. I have used it to provide an article feedback section 
that would otherwise have been a compromise to pull off. The settings page is nicely
placed in the Appearance section. All good :o)

![](https://secure.gravatar.com/avatar/e424d8ea22daed867778b7703f0dda7f6ddd07a0069145eedf3c47b94bba0eff?
s=60&d=retro&r=g)

### 󠀁[Exactly what I needed](https://wordpress.org/support/topic/exactly-what-i-needed-658/)󠁿

 [Amy](https://profiles.wordpress.org/synthea/) 18 de febrer de 2020

I tried a function to add affiliate/privacy info to blog posts only, but it was 
showing on my product pages, where I didn't want. This allowed me to select blog
posts only, and leave the info off pages and products. Perfect! Thank you for the
easy to use plugin!

 [ Llegiu totes les 6 ressenyes ](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/reviews/)

## Col·laboradors i desenvolupadors

«Insert Blocks Before or After Posts Content» és programari de codi obert. La següent
gent ha col·laborat en aquesta extensió.

Col·laboradors

 *   [ Jb Audras ](https://profiles.wordpress.org/audrasjb/)
 *   [ Whodunit ](https://profiles.wordpress.org/whodunitagency/)
 *   [ Maxime Pertici ](https://profiles.wordpress.org/maxpertici/)

“Insert Blocks Before or After Posts Content” s’ha traduït a 2 configuracions regionals.
Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/insert-blocks-before-or-after-posts-content/contributors)
per les seves aportacions.

[Traduïu «Insert Blocks Before or After Posts Content» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/insert-blocks-before-or-after-posts-content)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/insert-blocks-before-or-after-posts-content/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/insert-blocks-before-or-after-posts-content/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/insert-blocks-before-or-after-posts-content/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/insert-blocks-before-or-after-posts-content/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 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.

## Meta

 *  Versió **0.3**
 *  Darrera actualització **fa 1 mes**
 *  Instal·lacions actives **1.000+**
 *  Versió del WordPress ** 5.3 o posterior **
 *  Provada fins a **7.1.2**
 *  Versió del PHP ** 5.6 o posterior **
 *  Idiomes
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/insert-blocks-before-or-after-posts-content/),
   [English (US)](https://wordpress.org/plugins/insert-blocks-before-or-after-posts-content/),
   i [French (France)](https://fr.wordpress.org/plugins/insert-blocks-before-or-after-posts-content/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/insert-blocks-before-or-after-posts-content)
 * Etiquetes
 * [after](https://ca.wordpress.org/plugins/tags/after/)[before](https://ca.wordpress.org/plugins/tags/before/)
   [block](https://ca.wordpress.org/plugins/tags/block/)[content](https://ca.wordpress.org/plugins/tags/content/)
   [insert](https://ca.wordpress.org/plugins/tags/insert/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/insert-blocks-before-or-after-posts-content/advanced/)

## Valoracions

 4.7 sobre 5 estrelles.

 *  [  5 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/reviews/?filter=4)
 *  [  1 valoració de 3 estrelles     ](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/reviews/?filter=1)

[La vostra ressenya](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/reviews/)

## Col·laboradors

 *   [ Jb Audras ](https://profiles.wordpress.org/audrasjb/)
 *   [ Whodunit ](https://profiles.wordpress.org/whodunitagency/)
 *   [ Maxime Pertici ](https://profiles.wordpress.org/maxpertici/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/insert-blocks-before-or-after-posts-content/)

## Feu una donació

Voleu ajudar a què l'extensió millori?

 [ Feu una donació a aquesta extensió ](https://paypal.me/audrasjb)