Title: Restriction
Author: tooltipsorg
Published: <strong>2021 年 2 月 7 日</strong>
Last modified: 2024 年 2 月 18 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/restriction.svg)

# Restriction

 由 [tooltipsorg](https://profiles.wordpress.org/tooltipsorg/) 開發

[下載](https://downloads.wordpress.org/plugin/restriction.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/restriction/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/restriction/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/restriction/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/restriction/#developers)

 [技術支援](https://wordpress.org/support/plugin/restriction/)

## 外掛說明

Restriction is a wordpress restrict plugin to restric wordpress site, or wordpress
posts, or restricted content section in posts to non-member users.

When non-member users view your wordpress pages, they will be redirected to your
register page or landing page, you can set up the URL of register page or landing
page in “Restriction Global Setting” panel

In “Restriction Global Setting” panel, you can set up opened pages that will opened
for guest, guest can view these pages and will not be directed to landing page.

In “Restriction Global Setting” panel, you can enable “page lLevel protect” option,
if you enabled this option, in page / post editor, you will find “Members only for
this page?” meta box at the right top of the wordpress standard editor.
 If you 
checked “Allow everyone to access the page” checkbox in meta box, the post will 
be opened to all guest users By this way, you do not need enter page URLs to ppened
Pages panel always.

If you want to open your wordpress site to guest users, you can one click to open
your site via “Temporarily Turn Off All Featrures” option

If you just want to restrict a few private message, you can use shortcode [restriction]
hi, this is private content[/restriction]

Also you can restirct post private content based on users via restriction shortcode,
you can use it like this:
 [restriction roles=’editor,administrator’]hi, we are 
private content[/restriction] or [restriction roles=’editor’]hi, we are private 
content[/restriction]

And you can redirect users which have no permission to view the wordpress restricted
content to a customized URL with this way:
 [restriction roles=’editor,administrator,
admin’ link=’https://tooltips.org/shop/’]hi, we are private content[/restriction]

If you do not want to restrict post private content with user roles, just use restricted
shortcode like this:
 [restriction]hi, we are private content[/restriction]

### How To Use

Once installed the restriction plugin, please click restriction menu in back end,
we have detailed step by step notes for each option
 If you just want to restrict
a few private message, you can use shortcode [restriction]hi, this is private content[/
restriction]

### Download

https://www.wordpress.org/

## 安裝方式

1:Upload the restriction plugin to your blog
 2:Activate it 3:Finish setup in restriction
menu

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Restriction〉的開發相關工作。

參與者

 *   [ tooltipsorg ](https://profiles.wordpress.org/tooltipsorg/)

[將〈Restriction〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/restriction)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/restriction/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/restriction/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/restriction/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/restriction/)。

## 變更記錄

#### 1.0.9

> [Support Custom Login Link Redirection for Restricted Content Access and enhanced code security](https://tooltips.org/support-customize-the-login-link-wordpress-restricted-content-plugin-by-wordpress-tooltips-1-0-9-released/)

#### 1.0.5

Now you can restirct post content based on users via restriction shortcode, you 
can use it like this:
 [restriction roles=’editor,administrator’]hi, we are private
content[/restriction] or [restriction roles=’editor’]hi, we are private content[/
restriction] If you do not want to restrict post content with user roles, just use
restricted shortcode like this: [restriction]hi, we are private content[/restriction]

#### 1.0.0

Initial release

## 中繼資料

 *  版本 **1.0.9**
 *  最後更新 **2 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.4.8**
 *  PHP 版本需求 ** 5.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/restriction/)
 * 標籤:
 * [Restriction](https://tw.wordpress.org/plugins/tags/restriction/)
 *  [進階檢視](https://tw.wordpress.org/plugins/restriction/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/restriction/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/restriction/reviews/)

## 參與者

 *   [ tooltipsorg ](https://profiles.wordpress.org/tooltipsorg/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/restriction/)