Title: Block Pattern Builder
Author: Justin Tadlock
Published: <strong>3 april 2020</strong>
Last modified: 14 augusti 2020

---

Sök tillägg

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

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# Block Pattern Builder

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

[Ladda ner](https://downloads.wordpress.org/plugin/block-pattern-builder.1.1.0.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/block-pattern-builder/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/block-pattern-builder/#reviews)
 * [Utveckling](https://sv.wordpress.org/plugins/block-pattern-builder/#developers)

 [Support](https://wordpress.org/support/plugin/block-pattern-builder/)

## Beskrivning

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.

## Skärmdumpar

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

## Vanliga frågor

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

## Recensioner

![](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 januari 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 maj 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 december 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 december 2020 2 svar

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 november 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 oktober 2020

dsadsdsa

 [ Läs alla 13 betyg ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/)

## Bidragsgivare och utvecklare

”Block Pattern Builder” är programvara med öppen källkod. Följande personer har 
bidragit till detta tillägg.

Bidragande personer

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

”Block Pattern Builder” har översatts till 3 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/block-pattern-builder/contributors)
för deras bidrag.

[Översätt ”Block Pattern Builder” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/block-pattern-builder)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/block-pattern-builder/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/block-pattern-builder/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/block-pattern-builder/)
via [RSS](https://plugins.trac.wordpress.org/log/block-pattern-builder/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

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

 *  Version **1.1.0**
 *  Senast uppdaterat **6 år sedan**
 *  Aktiva installationer **600+**
 *  WordPress-version ** 5.0 eller senare **
 *  Testat upp till **5.5.18**
 *  PHP-version ** 5.6 eller senare **
 *  Språk
 * [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/)
   och [Spanish (Spain)](https://es.wordpress.org/plugins/block-pattern-builder/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/block-pattern-builder)
 * Etikett
 * [block-editor](https://sv.wordpress.org/plugins/tags/block-editor/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/block-pattern-builder/advanced/)

## Betyg

 4.9 av 5 stjärnor.

 *  [  12 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=5)
 *  [  1 4-stjärnig recension     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/block-pattern-builder/reviews/?filter=1)

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

[Se alla recensioner](https://wordpress.org/support/plugin/block-pattern-builder/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/block-pattern-builder/)