DooBlockPatterns

外掛說明

Create custom block patterns. The patterns can be designed just like you design a blog post or a page with the block editor.
You can assign any category or keywords.

Key Features

  • Create custom patterns from one or more blocks in the post editor
  • Group your patterns in categories
  • Optionally add any keywords or aliases that help users discover it while searching in the inserter
  • Create custom pattern categories
  • Set a viewport width to optimize the scaled width of the preview in the block inserter
  • Add an optional hidden text if the title does not fully describe what the pattern does.
  • Deleting patterns, modifying them or uninstalling the plugin does not affect the blocks created with the patterns, since once the pattern is inserted, it is not linked to the source pattern.
  • Option to remove patterns when plugin is removed

Getting Started

  1. Locate and click on the ‘Doo Block Patterns‘ menu item in the sidebar admin menu.
  2. Click on the ‘Add New‘ button.
  3. Give your pattern a name.
  4. Start writing or choose any blocks you want to be part of your pattern.
  5. Publish the pattern.
  6. Go to a test post or page and locate your pattern in the Block Inserter under the pattern tab and click on it.
  7. The block pattern will now be added to your page. All contained blocks are now independent of the original pattern and can be edited as any regular block.

螢幕擷圖

  • Pattern with blocks
  • Pattern settings
  • Block Patterns list

安裝方式

From your admin dashboard,

  1. Select Plugins > Add New.
  2. From the search box, type Doo Block Pattern and then search.
  3. Click the install button and then activate the plugin.

常見問題集

How to make a copy of the patterns and incorporate them into another WP?

Simply, using the WP export tool, generate an XML file, which serves as a copy and can be imported into another WP.

What users/roles have the ability to create pattern blocks?

The users who can create custom block patterns in this plugin are those with the role of: administrator, editor or author.

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈DooBlockPatterns〉的開發相關工作。

參與者

將〈DooBlockPatterns〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

[1.0.0] – 2022-11-26

Initial release.

[1.1.0] – 2022-12-02

Fix a bug on remove plugin.
Improved: CPT register not public

[1.2.0] – 2022-12-03

Improved: Performance.
Added: FAQ’s in readme.txt

[1.2.1] – 2022-12-16

Fixed: bug in save block pattern.