Block Pattern Builder


Block Pattern Builder is a simple plugin that allows end-users to create custom block patterns within the WordPress plugin directory. The plugin currently requires Gutenberg 7.8+. Block patterns will be a part of core WordPress in the future. For now, Gutenberg is a hard requirement.

More information on block patterns can be found via the following links:

How to Use the Plugin

After installing and activating the plugin, you should see a new “Block Patterns” menu item in your WordPress admin. From that point, you can create a new pattern just like you would any post or page. The process is the same.

The idea with patterns is to create a reusable pattern or section of blocks that you will use later. Once you publish a pattern, it will be available within the pattern library.

Now, go to any post or page. Click on the pattern icon. At the time of writing, that icon is in the top right corner of the block editor, but this will surely change in future versions of Gutenberg and WordPress. After clicking on the icon, you should see your custom pattern in the pattern library/list. Click on it. It will be inserted into your post.

As of version 1.1.0, users can create a block pattern directly from the editor. Click on the “more options” button (ellipsis icon) in the editor toolbar with at least one block selected. Then, click the “Add to Block Patterns” option.

Imagens de tela

  • Block Patterns management screen.
  • Creating a custom block pattern.
  • Inserting a block pattern into the post editor.


Why was this plugin created?

I thought it would be fun to build block patterns from the admin instead of writing code for them.

Block pattern is invalid. What should I do?

If this happens, something is off in the pattern. See if you can resolve the issue. Currently, block patterns are very early in development, so there is a distinct possibility of breakage.

Can I use this to build patterns for my theme?

Yes, certainly. You can build the patterns via the admin. Then, go to the code editor and copy the code version of the pattern. Then, register in your theme’s functions.php via the register_pattern() function. This way, you can ship your custom patterns directly to your theme users.


28 de setembro de 2020
I just discovered this plugin by accident. And I'm glad I did. Makes it a breaze to build custom patterns and import and export them. Thanks Justin.
14 de agosto de 2020
This is what makes Gutenberg complete! Is a masterpiece of code! Well written! The author of this plugin is an expert, he have written the book - "Professional WordPress Plugin Development". Thanks a lot Justin Tadlock!
30 de maio de 2020
Really, pattern is a very powerful feature of gutenberg block editor. Thanks for making such a plugin where we can create pattern save it use it on other page. I have following questions: 1)incase of multisite, it is possible that I save pattern in my main site, and it can be used in rest of the network site. 2) can we submit over pattern for defaultWordPress pattern directory.
Leia todas as 6 avaliações

Contribuidores e desenvolvedores

“Block Pattern Builder” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.


“Block Pattern Builder” foi traduzido para 1 localidade. Agradecemos aos tradutores por suas contribuições.

Traduzir “Block Pattern Builder” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

The change log is located in the file in the plugin folder. You may also view the change log online.