This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Insert Block Pattern Block


This Block inserts any Block Pattern at any insert point (+), also from inside a column block.

The block is replaced by the Block Pattern content. (The “Insert Block Pattern” Block is removed)

Theme Block Patterns are an excellent method for making well designed block content available to editors and authors.

This Block is a provisional solution. It will be maintained until the Block Pattern Library is extended.


  1. English
  2. Norwegian


  • Insert Block Pattern into page ( a paragraph )
  • Insert Block Pattern into a Columns Block


Manual Installation

  1. Unpack the to the /wp-content/plugins/ directory

  2. Activate the plugin through the ‘Plugins’ menu in WordPress

NPM Installation

A minimal package.json, webpack.config.js is included.

Note: copy this into a .babelrc file at plugins/insert-block-pattern-block/.babelrc
  "presets": ["@babel/preset-env", "@babel/preset-react"],
  "plugins": [

To install and build:

plugins/insert-block-pattern-block/$ npm i
plugins/insert-block-pattern-block/$ npm run build

Creating language files

  1. Create .mo and .po files from the languages/ibpb.pot file for your language.

  2. Check that textdomain in front of mo and po. The files need to be of the form: ‘ibpb-<LOCALE>.mo’. eg., ibpb-nb_NO.po

  3. Use WP-Cli at plugins/ipbp/

    $ wp i18n make-json languages/ibpb-<LOCALE>.po –no-purge

This produces a 2 json file with a hash strings.

It does not currently work directly by adding these 2 files – they must be combined into a new json file:

Copy one of the 2 generated files to:


Combine the messages into one file

"locale_data": { "messages": { <MESSAGES HERE> }}

Rename the source line to:

"source": "ibpb_blocks_registration.js",

This should end up with a file something like this:


  "translation-revision-date": "2021-01-17 10:27+0100",
  "generator": "WP-CLI/2.2.0",
  "source": "ibpb_blocks_registration.js",
  "domain": "messages",
  "locale_data": {
    "messages": {
        "": {
            "domain": "messages",
            "lang": "nb_NO",
            "plural-forms": "nplurals=2; plural=(n != 1);"
              "Block for inserting a Block Pattern": [
                    "Blokk for \u00e5 sette inn ett blokkm\u00f8nster"
          "Block Pattern": ["Blokkm\u00f8nster"],
              "Insert Block Pattern": ["Sett inn Blokkm\u00f8nster"],
              "Select a Block Pattern Category": ["Velg kategori"],
              "Uncategorized": ["Ukategorisert"],
              "Select a Block Pattern": ["Velg Blokk m\u00f8nster"]

नेहमी विचारले जाणारे प्रश्न

Can the the Insert Block Pattern Block insert into a column ?


Is this block used in production environment ?


Is support provided ?

The plugin will be maintained until the Block Pattern Library is extended with similar functionality.

The plugin is used in production but will be kept as simple as possible.

Does the plugin have language support ?

Yes. There is a pot file included. It is tranlated to Norwegian.

Does the plugin include the source code ?



ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.

योगदानकर्ते आणि विकसक

“Insert Block Pattern Block” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.


भाषांतर करा “Insert Block Pattern Block” तुमच्या भाषेत.

विकासातील आग्रह?

कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.

बदलांची यादी


  • Release version 1.0.