
內容簡介
Content Control 是一個輕量而強大的外掛,可以讓您完全掌控網站內容,限制未登錄用戶、特定使用者角色或已登出用戶存取頁面/文章。
此外,本外掛也可以使用短碼來限制頁面/文章中的某些部分,例如:[content_control]登錄後才能查看的內容[/content_control]
最後,外掛允許您通過選擇誰可以查看每個側欄/頁腳小工具,來控制每個小工具的可見性。
全部功能清單
Content Control 可以讓您執行以下任務:
限制未登錄用戶或特定使用者角色,存取頁面/文章
限制未登錄用戶或特定使用者角色,存取 媒體附件頁面、標籤、類別、格式
向未具備查看內容權限的用戶顯示自定義訊息
將沒有查看權限的用戶重新導向到登錄頁面(登錄後再重新導向回頁面/文章)、網站首頁或自訂URL
僅在頁面/文章上向已登錄用戶顯示特定內容
僅在頁面/文章上向特定使用者角色顯示特定內容
僅在頁面/文章上向已登出用戶顯示特定內容
在頁面內容限制短碼上應用自定義 CSS 類別
透過選擇誰可以查看每個側欄/頁腳小工具,來控制每個小工具的可見性
注意:Content Control 通過媒體附件頁面在內容級別上限制對媒體的存取,而不是在服務器級別上(例如:.jpg、.gif、.pdf 和 .webp 文件)。
短碼
此範例僅允許已登錄的訂閱者和編輯者查看文字”登錄後才能查看的內容”。
[content_control roles=”subscriber,editor” class=”custom-css-class” message=”You don’t have access to this.”]登錄後才能查看的內容[/content_control]
如果您未登錄或未以訂閱者或編輯者身份登錄,您將看到”You don’t have access to this.” 的拒絕訊息。
所有參數都是可選的。如果您添加參數,請確保它後面跟著等號 (=),而您的參數值則被放在雙引號 (“”)中。
參數列表:
roles — 預設情況下,所有使用者角色都可以存取受限內容。如果您想只允許特定角色存取,請添加這個參數和一個由雙引號包圍的逗號分隔的 WordPress 合法使用者角色清單。請參閱上面的範例。
logged_out=”1″ — 只有已登出使用者才能查看此內容。如果希望相反(只有已登錄的人可以查看內容),則省略此參數。即:Content Control 預設情況下會限制已登錄使用者才能查看內容。
class — 如果您想為受限內容添加自定義樣式,請添加自定義 CSS 類別名稱。
message — 如果您想要覆蓋外掛設定的預設訊息,請添加自定義拒絕訊息。
Code Atlantic 為您打造
Content Control 外掛是由 Code Atlantic 團隊開發。我們創建高品質的 WordPress 外掛,以協助您發展 WordPress 網站。
查看我們最熱門的外掛:
外掛標籤
開發者團隊
② 後台搜尋「Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Content Control is a transformative plugin, allowing you to fine-tune every aspect of your WordPress website’s content. Decide who gets to see what, where, and when – be it pages, posts, widgets, or individual block visibility using our handy shortcode. Your content, your rules, executed perfectly!
Content Control is intuitive and powerful, designed for all users—whether logged in, holding specific roles, or even guests. Need top-tier content restriction or a dependable access manager for your site? Look no further. We’ve expanded our controls to include Gutenberg and Full Site Editor, giving you unmatched command.
Key Features
Discover what Content Control brings to your table:
Full control over your site’s content, restrict user access with ease!.
Create a Paid Membership sites using your favorite or existing ecommerce plugins.
Set up a seamless paywall for your content, providing teasers for users and prompting them to purchase access.
Per block controls for Gutenberg and Full Site Editor, including user roles, device type, and more.
Responsive block controls with customizable breakpoints.
Control block visibility by user status, roles, device type & more.
Restrict access to pages, posts, widgets, and individual blocks based on user status, roles, device type & more.
Offer membership tools for crafting membership access and members-only content.
Provide responsive block designs that adapt to varying device sizes.
Lockdown content selectively for improved user experiences.
Implement role-based redirections to guide users effectively.
Unlock the power of subscription content and monetization strategies.
Safeguard specific categories, tags, custom post types, and custom taxonomies.
Manage access to media attachment pages for logged in/out users or specific user roles.
Display a custom message to users who do not have permission to view the content.
Display specific content on a page or post to logged in users only, specific user roles, or logged out users.
Redirect users without access permission to a login page, website homepage, or a custom URL.
Highlight subscriber-only content for premium users.
Use the [content_control] shortcode to protect content inline and cater to subscriber preferences.
Control widget visibility by selecting the user type that can view each widget.
Conditionally show coming soon or maintenance mode pages based on various rules.
Restrict access to your site’s REST API endpoints.
Content Control Documentation
Pro Features
Content Control Pro, with advanced features like:
Content Teasers for Paywalls, giving your users a sneak peek, leaving them wanting more.
Optimize your WooCommerce & Easy Digital Downloads (EDD) & Paid Memberships Pro experiences with advanced rules.
Schedule blocks, controlling content visibility timings using customizable scheduling rules.
Dive deeper with advanced block rules and a boolean editor.
Customize login, registration & recovery page urls. Custom login urls give a more personalized user experience.
Upgrade to Content Control Pro
Note: Content Control handles media access via content on media attachment pages but won’t restrict direct server-level access to media files.
Passionately Crafted by Code Atlantic
At Code Atlantic, we’re passionate about crafting tools that empower your digital journey. Content Control is a testament to our commitment to quality.
Dive into some of our renowned plugins:
Popup Maker – The #1 Popup & Marketing Plugin for WordPress
User Menus – Innovatively Show, Hide & Customize Menu Items
