[WordPress] 外掛分享: Advanced Control for Gutenberg

首頁外掛目錄 › Advanced Control for Gutenberg
WordPress 外掛 Advanced Control for Gutenberg 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
455 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2024-11-30

內容簡介

**總結:**
- 目前在某些前端註冊塊上,無法根據類別啟用或停用塊並控制塊設置,這是由於 WordPress 中缺乏鉤子和控制的限制。我們正在積極努力解決此問題,預計在下一個版本中解決。
- 使用我們的外掛可增強您的 WordPress 編輯體驗,通過刪除不必要的塊和設置來簡化 Gutenberg 編輯器。以下是它如何提升您的工作流程:
- 文章類型: 自定義編輯器以僅顯示不同類型文章的基本塊。
- 用戶角色: 基於用戶角色設置塊訪問權限,以保持您的網站有序和安全。
- 個別用戶: 為特定用戶定義設置,允許定制設置以滿足其喜好和工作流程。這意味著您可以為每個用戶調整編輯環境,專注於其任務所需的必要工具。

**問題與答案:**
- 如何訪問外掛設定?
- 安裝並啟用外掛後,前往 WordPress 控制台中的「設置」-> 「Gutenberg 進階控制」。
- 如何創建新規則?
- 點擊「新增」按鈕。
- 如何設置規則?
- 輸入規則名稱。
- 切換打開/關閉以啟用或停用規則。
- 如何定義定位條件?
- 選擇規則類型: 文章類型、用戶角色或用戶名。
- 選擇規則條件: 選擇「是其中之一」或「不是其中之一」。
- 根據您的規則類型設置值: 文章類型 - 選擇可用文章類型。用戶角色 - 選擇可用用戶角色。用戶名 - 輸入並選擇用戶名。
- 如何結合規則?
- 使用 AND 要求所有條件為真。
- 使用 OR 至少要求一個條件為真。
- 如何選擇規則操作?
- 選擇要啟用或停用的塊或設置: 啟用塊、停用塊、類別啟用、類別停用、啟用設置、停用設置。
- 如何驗證規則?
- 前往符合規則的 Gutenberg 編輯器中編輯文章,檢查塊和設置是否符合您創建的規則。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Advanced Control for Gutenberg」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

In the current version, enabling or disabling blocks by category and controlling block settings do not work for some front-end registered blocks. This limitation is due to the lack of hooks and controls in WordPress. We are actively working to address this issue in the next release.
Enhance your WordPress editing experience with our plugin that simplifies the Gutenberg editor by removing unnecessary blocks and settings. Here’s how it enhances your workflow:

Post Types: Customize the editor to display only essential blocks for different types of posts.
User Roles: Set block access permissions based on user roles to keep your site organized and secure.
Individual Users: Define settings for specific users, allowing a customized setup that caters to their preferences and workflow. This means you can adjust the editing environment for each user, focusing on the necessary tools for their tasks.

A key feature of Advanced Control for Gutenberg is its ability to improve full site editing. It allows site managers to specify which blocks are accessible to certain editors, preventing unintended alterations. By hiding the ‘Lock’ button from those not authorized, your site’s layout and consistency are preserved.
With “Advanced Control for Gutenberg,” editing in WordPress becomes more efficient. Enhance your editor for a cleaner and more focused editing experience.
Javascript Packages

styled-components: [https://styled-components.com/docs]

We want your input
If you have any suggestions for improvements, feature updates, etc., or would like to simply give us feedback, then we want to hear it. Please email your comments to [email protected]
How to Use

Access the Plugin Settings
After installing and activating the plugin, go to Settings -> Advanced Control for Gutenberg in your WordPress dashboard.

Create a New Rule
Click the “Add New” button.

Set Up the Rule

Rule Name: Enter a name for your rule.
Status: Toggle on/off to activate or deactivate the rule.

Define Targeting Conditions
These fields determine whether restrictions should be applied when loading the Gutenberg editor.

Rule Type: Choose from Post Type, User Role, or User Name.
Rule Condition: Select “is one of” or “is not one of”.
Rule Value: Based on your Rule Type:

Post Type: Select from available post types.
User Role: Choose from available user roles.
User Name: Enter and select a username.

Combine Rules
Pressing these logical operands will add a new rule row (containing rule type, rule condition, and rule operand) to the page:

AND: Use AND to require all conditions to be true.
OR: Use OR to require at least one condition to be true.

Choose Rule Action
Select which blocks or settings to enable or disable:

Enable Blocks
Disable Blocks
Enable by Category
Disable by Category
Enable Settings
Disable Settings

Each action item specifies what it does in terms of enabling or disabling blocks or settings.

Verify the Rule in Action
Go to edit a post with the Gutenberg editor that satisfies the rule, and check that the blocks and settings align with the rule you’ve created.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon