[WordPress] 外掛分享: Block Permissions

WordPress 外掛 Block Permissions 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Block Permissions」是 2019-04-08 上架。
  • 目前有 400 個安裝啟用數。
  • 上一次更新是 2021-10-25,距離現在已有 1286 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

meceware |

外掛標籤

date | addon | blocks | gutenberg | content restriction |

內容簡介

完整文件

使用方法

啟用「區塊權限」外掛。
使用 Gutenberg 編輯器編輯任意頁面。
如果選擇「顯示」作為區塊權限,只有在驗證設置時方可顯示區塊內容。否則,區塊內容將被隱藏。

顯示

如果選擇「每個人」作為權限,那麼區塊內容將對每個人可見。

如果選擇「會員」作為權限,那麼區塊內容將對已登錄用戶可見。

如果選擇「指定用戶角色的會員」作為權限,那麼區塊內容僅對具備指定用戶角色的會員可見。

如果選擇「指定用戶」作為權限,那麼區塊內容僅對指定的用戶可見。

如果選擇「指定設備」作為權限,那麼區塊內容僅對指定的設備(例如桌面,手機和/或平板電腦)可見。

如果選擇「日期範圍」作為權限,那麼區塊內容僅在指定日期範圍內可見。

如果選擇「時間範圍」作為權限,那麼區塊內容僅在指定時間範圍內可見。

如果選擇「每週某天」作為權限,那麼區塊內容僅在指定的某些天可見。

如果選擇「PHP 函數」作為權限,那麼區塊內容只會根據指定 PHP 函數的返回值進行顯示。

隱藏

如果選擇「每個人」作為權限,那麼區塊內容將對每個人隱藏。

如果選擇「會員」作為權限,那麼區塊內容將對已登錄用戶隱藏。

如果選擇「指定用戶角色的會員」作為權限,那麼區塊內容將對具備指定用戶角色的會員隱藏。

如果選擇「指定用戶」作為權限,那麼區塊內容將對指定的用戶隱藏。

如果選擇「指定設備」作為權限,那麼區塊內容將對指定的設備(例如桌面,手機和/或平板電腦)隱藏。

如果選擇「日期範圍」作為權限,那麼區塊內容將在指定日期範圍內隱藏。

如果選擇「時間範圍」作為權限,那麼區塊內容將在指定時間範圍內隱藏。

如果選擇「每週某天」作為權限,那麼區塊內容將在指定的某些天隱藏。

如果選擇「PHP 函數」作為權限,那麼區塊內容只會根據指定 PHP 函數的返回值進行隱藏。

原文外掛簡介

Full Documentation
How To Use

Activate ‘Block Permissions’ plugin.
Edit any page with Gutenberg editor.
If Block Permission is chosen for ‘Show’, the block content will be shown if the settings are validated. Otherwise block content will be hidden.

Show

If ‘Everyone’ is selected as the permission, the block content will be shown for everyone.

If ‘Members’ is selected as the permission, the block content will be shown for the logged in users.

If ‘Members with Selected User Roles’ is selected as the permission, the block content will be shown only for the members with specified user roles.

If ‘Selected Users’ is selected as the permission, the block content will be shown only to the specified users.

If ‘Selected Devices’ is selected as the permission, the block content will be shown for the specified devices, such as Desktops, Phones and/or Tablets.

If ‘Date Range’ is selected as the permission, the block content will be shown between the specified dates.

If ‘Time Range’ is selected as the permission, the block content will be shown between the specified times.

If ‘Day Of Week’ is selected as the permission, the block content will be shown on the specified days.

If ‘PHP Function’ is selected as the permission, the block content will be shown according to the return value of the specified PHP function.

Hide

If ‘Everyone’ is selected as the permission, the block content will be hidden from everyone.

If ‘Members’ is selected as the permission, the block content will be hidden from the logged in users.

If ‘Members with Selected User Roles’ is selected as the permission, the block content will be hidden from the members with specified user roles.

If ‘Selected Users’ is selected as the permission, the block content will be hidden from the specified users.

If ‘Selected Devices’ is selected as the permission, the block content will be hidden from the specified devices, such as Desktops, Phones and/or Tablets.

If ‘Date Range’ is selected as the permission, the block content will be hidden between the specified dates.

If ‘Time Range’ is selected as the permission, the block content will be hidden between the specified times.

If ‘Day Of Week’ is selected as the permission, the block content will be hidden on the specified days.

If ‘PHP Function’ is selected as the permission, the block content will be hidden according to the return value of the specified PHP function.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Block Permissions」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | trunk | 1.0.3.1 | 1.0.5.1 |

延伸相關外掛(你可能也想知道)

  • Primary Addon for Elementor 》Primary Addon for Elementor是Elementor頁面建構器的主要附加元件,涵蓋創建完美網站所需的所有必要元素。20多個常見的Elementor小工具&15多個專業Elemento...。
  • File Uploads Addon for WooCommerce 》「WooCommerce檔案上傳插件」(File Uploads Addon for WooCommerce) 是一款提供WooCommerce用戶在購物時上傳自定義圖像檔案的插件。用戶可以從WooCommerce產...。
  • Advanced Custom Fields: Typography Field 》「Advanced Custom Fields」外掛的排版類別欄位,讓你新增不同的文字屬性,例如字型大小、字型家族、字體顏色等。, 支援的子欄位, , 字型大小, 字型家族, 字...。
  • Search & Replace for Elementor – Text, Links & Images 》以下是文章的總結:, , Search & Replace for Elementor是一個可以在Elementor網頁構建器中查找和替換任何文本/鏈接的外掛程式。擴增了使用Elementor的效...。
  • G-Forms hCaptcha 》透過 Gravity Forms 的 hCaptcha 外掛,讓您的網站流量有了新的商業利用方式。, hCaptcha 外掛是一個 reCAPTCHA 的替代選項,讓網站擁有者可以賺取收益,同時...。
  • Multi Page Auto Advance for Gravity Forms 》本外掛是一個針對 Gravity Forms 的「Multi Page Auto Advance」多頁表單自動跳轉外掛,可以讓填表程序對訪客更加迅速和友善。該插件提供了一種簡單的方法,...。
  • ACF: Rus-To-Lat 》這是一個 Advanced Custom Fields (ACF) 的外掛程式,可以清除額外欄位名稱中不必要的字符並將它們轉換成拉丁字母。。
  • WooCommerce GST Plugin 》使用 WooCommerce GST 插件,您可以管理商店的 GST 稅。您可以在 WooCommerce 設置的 GST 設置選項卡上指定 GSTIN 號碼。您還可以選擇您網站的內容是單一還是...。
  • Timeline Express HTML Excerpts Add-on 》Timeline Express HTML 著錄增強外掛會在時間軸快報的文章上建立一個新的 WYSIWYG 元框。此新領域可以用來為您的快報產生自定義摘要。, 新的 WYSIWYG 自定義...。
  • 80+ Elementor Blocks by Elfsight. 》asts and more with our audio player widget for Elementor. It is fully customizable and mobile-friendly, making it easy to listen to audio content o...。
  • Classic Addons – WPBakery Page Builder 》Classic Addons For WPBakery Page Builder ~ WPBakery最大的附加元件包,包含 15+ 高度自定義的元件和附加元件。此附加元件包為您提供 WPBakery 網頁建構器...。
  • Woo Set Price Note (Units, Offers, Editions) 》Woo Set Price Note (Units, Offers, Editions)是一個外掛,能夠協助WooCommerce購物管理員顯示商品價格和其它文本/訊息。, 外掛特點:, , , 新增功能 - 在購...。
  • reCAPTCHA for Ninja Forms 》更新:Ninja Forms 3.0 現在內建 Google reCAPTCHA 整合功能。如果您正在使用最新版本的 Ninja Forms,則不必再安裝此外掛程式以進行 reCAPTCHA 整合, 在 Nin...。
  • Invisible reCaptcha addon for Gravity Forms 》一個簡單的Gravity Forms外掛,可在所有表單上啟用不可見的Google Captcha V3。, 從WordPress內部, , 進入「外掛>新增」, 搜尋「Invisible reCaptcha addo...。
  • Date Time Field Add-On for Gravity Form 》Gravity Forms 的日期時間外掛,具備自訂日期時間格式功能:, , 此外掛將在「進階欄位」下新增「日期時間」欄位類型。, 只需將「日期時間」欄位拖曳至表單中...。

文章
Filter
Apply Filters
Mastodon