Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Controlled Content Block

Опис

With the Controlled Content Block you can create a Content section where you have control over which blocks are allowed. Use this block if you have a section where you only want paragraphs. The block also features a filter to control who can change which type of blocks are available. The possible allowed core blocks are paragraphs, lists, headings, and images. If you would like to add or remove blocks from these choices there is a filter for that too.

The block also features a filter to remove the meta box for selecting allowed blocks for certain users.

View Information on filters and additional documentation.

Скріншоти

  • Select allowed blocks.
  • Only allowed blocks in block editor

Блоки

Цей плагін надає 1 блок.

  • Controlled Content Create an allowed blocks section

Встановлення

  1. Upload the plugin files to the /wp-content/plugins/controlled-content directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

Часті питання

Which blocks can be allowed?

Any block installed on your site. The default list you can select from is:

  • Paragraph
  • List
  • Heading
  • Image

What Filters are available?

The block offers two filters.

  1. wpblockbuddy_controlled_content_block_choices to filter the list of blocks to choose from.
  2. wpblockbuddy_controlled_content_user_can_view to filter if the meta box for selecting allowed blocks is visible to a user.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Controlled Content Block” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Controlled Content Block” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

0.1.0

  • Release

0.2.0

  • Add option for custom placeholder text for the block
  • Add link to documentation from the plugin action links