Title: Block Pattern Builder
Author: Justin Tadlock
Published: <strong>3 Tháng 4, 2020</strong>
Last modified: 14 Tháng 8, 2020

---

Tìm kiếm plugin

![](https://ps.w.org/block-pattern-builder/assets/banner-772x250.png?rev=2275158)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/block-pattern-builder/assets/icon-256x256.png?rev=2275158)

# Block Pattern Builder

 Bởi [Justin Tadlock](https://profiles.wordpress.org/greenshady/)

[Tải về](https://downloads.wordpress.org/plugin/block-pattern-builder.1.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/block-pattern-builder/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/block-pattern-builder/#reviews)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/block-pattern-builder/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/block-pattern-builder/)

## Mô tả

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:

 * [Gutenberg 7.8 Adds Patterns API and Continues Interface Cleanup](https://wptavern.com/gutenberg-7-8-adds-patterns-api-and-continues-interface-cleanup)
 * [Block Patterns Will Change Everything](https://wptavern.com/block-patterns-will-change-everything)

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

## Ảnh màn hình

[⌊Block Patterns management screen.⌉⌊Block Patterns management screen.⌉[

Block Patterns management screen.

[⌊Creating a custom block pattern.⌉⌊Creating a custom block pattern.⌉[

Creating a custom block pattern.

[⌊Inserting a block pattern into the post editor.⌉⌊Inserting a block pattern into
the post editor.⌉[

Inserting a block pattern into the post editor.

## Hỏi đáp

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

## Đánh giá

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

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

 [Martin Sauter](https://profiles.wordpress.org/martinsauter/) 11 Tháng 1, 2022

This is a clean and simple, but very helpful plugin to create your own block patterns.
If it had the option to manage block pattern categories as well, I'd consider even
a 5 star rating… 😉

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

### 󠀁[Time saver making it super easy for clients](https://wordpress.org/support/topic/time-saver-making-it-super-easy-for-clients/)󠁿

 [Richard B](https://profiles.wordpress.org/richard-b/) 19 Tháng 5, 2021

Thanks Justin!! This plugin is just what was needed. Makes it super easy to save
a pattern (template) and just reuse over and over on new pages. Love it!

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

### 󠀁[Great time saver](https://wordpress.org/support/topic/great-time-saver-107/)󠁿

 [pete3](https://profiles.wordpress.org/pete3/) 23 Tháng 12, 2020

The Block Pattern Builder allows me to quickly use blocks over and over again, which
is really essential to create content quickly and consistently. The only issue I
have right now is that the patterns in the bottom of my list of 13 patterns are 
not listed when I search for them in the Gutenberg editor. If I have two patterns
with "h2" in their name, it only shows the to one, for example. Not sure what is
causing that? I hope a future version allows to change the saved pattern and apply
the changes site wide (structure and design, not the content obviously). That would
make maintenance so much more efficient. But I think it's a WordPress limitation
at the moment, rather than a plugin limitation.

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

### 󠀁[Great Plugin, But](https://wordpress.org/support/topic/great-plugin-but-157/)󠁿

 [LarryWEB](https://profiles.wordpress.org/lhe2012/) 3 Tháng 12, 2020 2 trả lời

I REALLY like this plugin, but it is conflicting with Gutenberg Plugin v9.1.1 When
inserting Block > choosing Browse All > then selecting Patterns …… It gets an error
The editor has encountered an unexpected error. Just respond that you got this ….
then it goes back to 5 Stars! Thanks, looking forward to using. ————————————- Due
to "Bianca (@bianca205)", putting this to 5 Stars … I hope she will forward this
to the right people.

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

### 󠀁[Useful addition that needs some work](https://wordpress.org/support/topic/useful-addition-that-needs-some-work/)󠁿

 [Webtaurus](https://profiles.wordpress.org/and_or/) 26 Tháng 11, 2020

Thanks Justin for creating such a useful nifty plugin. I does not seem perfect in
the way of finding and inserting the patterns in posts, but I am sure you will solve
that.

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

### 󠀁[Very Good](https://wordpress.org/support/topic/very-good-5204/)󠁿

 [aungzinphyo](https://profiles.wordpress.org/aungzinphyo/) 25 Tháng 10, 2020

dsadsdsa

 [ Đọc tất cả 13 đánh giá ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/)

## Người đóng góp & Lập trình viên

“Block Pattern Builder” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Justin Tadlock ](https://profiles.wordpress.org/greenshady/)

“Block Pattern Builder” đã được dịch qua 3 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/block-pattern-builder/contributors)
vì đóng góp của họ.

[Dịch “Block Pattern Builder” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/block-pattern-builder)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/block-pattern-builder/),
check out [SVN repository](https://plugins.svn.wordpress.org/block-pattern-builder/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/block-pattern-builder/)
qua [RSS](https://plugins.trac.wordpress.org/log/block-pattern-builder/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

The change log is located in the `changelog.md` file in the plugin folder. You may
also [view the change log](https://github.com/justintadlock/block-pattern-builder/blob/master/changelog.md)
online.

## Meta

 *  Phiên bản **1.1.0**
 *  Cập nhật lần cuối **6 năm trước**
 *  Số lượt cài đặt **600+**
 *  Phiên bản WordPress ** 5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.5.23**
 *  Phiên bản PHP ** 5.6 hoặc cao hơn **
 *  Ngôn ngữ
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/block-pattern-builder/), 
   [English (US)](https://wordpress.org/plugins/block-pattern-builder/), [Spanish (Chile)](https://cl.wordpress.org/plugins/block-pattern-builder/),
   và [Spanish (Spain)](https://es.wordpress.org/plugins/block-pattern-builder/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/block-pattern-builder)
 * Thẻ
 * [block-editor](https://vi.wordpress.org/plugins/tags/block-editor/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/block-pattern-builder/advanced/)

## Đánh giá

 4.9 trên 5 sao.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/block-pattern-builder/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/block-pattern-builder/reviews/)

## Những người đóng góp

 *   [ Justin Tadlock ](https://profiles.wordpress.org/greenshady/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/block-pattern-builder/)