Custom Block Patterns
Custom Block Patterns
Description
You can easily create your own block patterns and register them.
How to use
From the “Block Patterns” in the admin menu, just assemble the pattern using blocks as you would in a regular post.
If it doesn’t work
This plugin works only with PHP version 7.0 or later, WordPress 5.5 or later.
Please check your PHP version or WordPress version.
Installation
This plugin can be installed directly from your site.
- Log in and navigate to “Plugins” “Add New”.
- Type “Custom Block Patterns” into the Search and hit Enter.
- Locate the plugin in the list of search results and click “Install Now”.
- Once installed, click the “Activate” link.
Screenshots
Reviews
Easy way to create your own block patterns
By Bego Mario Garde (pixolin) on February 18, 2023
I'm a great fan of plugins which without bells and whistles simply do, what you expect and this plugin certainly is one of them. It allows you easily to create your own block patterns and use them as you like. The plugin is lean and the code clean. So far 5 stars.
So, why did I only rate it 4 stars?
- I like to read the code of plugins, that I want to use on my client's websites. All functions do have a single line comment, but unfortunately in Japanese, which makes it difficult to read (i.e. I have to use a translation programm to understand the comments).
- The plugin also doesn't seem to follow WordPress' coding standards, e.g. by using short array syntax and inline control structures.
- Personally, I would have liked it better if the Custom Post Type Block Patterns menu was a submenu of Appearance. A remaining comment
// 'menu_position' => 6looks like the plugin author had some other position in mind, too.
Don't let these nitpicky comments fool you - the plugin does what it's supposed to and it can be used without hesitation despite these really minor flaws.
Thanks for sharing the plugin.
Easy to use
By AlfredG on October 10, 2021
めちゃくちゃ便利です!
By aoi61n on August 19, 2020
Changelog
1.4.0
Added pattern category.
1.3.0
Support for WordPress 6.0.
1.2.1
- ‘loos_cbp_viewport_width’ hook added.
- ‘loos_cbp_block_types’ hook added.
1.2.0
Support for WordPress 5.8.
1.0.1
Edited the readme.txt.
1.0.0
Initial working version.



