설명
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.
스크린샷
블록
이 플러그인은 1(을)를 제공합니다.
- Controlled Content Create an allowed blocks section
설치
- Upload the plugin files to the
/wp-content/plugins/controlled-content
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
FAQ
-
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.
wpblockbuddy_controlled_content_block_choices
to filter the list of blocks to choose from.wpblockbuddy_controlled_content_user_can_view
to filter if the meta box for selecting allowed blocks is visible to a user.
후기
이 플러그인에 대한 평가가 없습니다.
기여자 & 개발자
자국어로 “Controlled Content Block”(을)를 번역하세요.
개발에 관심이 있으십니까?
변경이력
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