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

RestrictedArea Plugin for WordPress

外掛說明

This is a very simple script.

Sometimes you need to hide some information for logged in users on your blog. There are couple of tools/plugins for WordPress to do this.

But what if you want to hide only a piece of the post or the page, not the whole page/post?

This plugin is for that.

On the plugins admin page, you can set the text what you want to show to the users whom not logged in. You have an option to turn on, or turn off the login / register link after your defined text. You can set the color of the border of the text also.

Features and Benefits:

  • Hide only a piece of your page / post.
  • You can set the border of the restricted section.
  • You can set level of restrcition.
  • You can set the text of the restricted area.
  • You can set, do you want to show Login / Register link or not.
  • Localization in .po/.mo files. (Hungarian localization included).

螢幕擷圖

  • Restricted Area works.
  • How to place your shortcode.

安裝方式

Installation:

  1. Download the zip file.
  2. Unzip it into your wp-content/plugins/ directory.
  3. Go to the Plugins page at Dashboard.
  4. Activate the Restricted Area plugin.

Usage:

  1. Go to the Dashboard -> Settings -> Restricted Area
  2. Set yout options
  3. Add a [restrictedarea] … [/restrictedarea] shortcode to your post or page.
  4. Optionally you can set the level of the allowed users with a level option like this: [restrictedarea level=”6″] … [/restrictedarea]
  5. If you want to translate it, use PoEdit to translate.

You can read more, how Restricted Area works, at my blog:
http://vaso.sma.hu/blog/restricted-area-plugin-for-wordpress/

Notes:

I used WordPress 2.9.2 for developing this plugin, i don’t know, is it works with previous versions of it.
I tested it with these browsers under Windows XP Pro SP3 (32-bit):

  • Firefox 3.6 rv.1.9.2,
  • Google Chrome 4.1.249.1045 (42898)
  • Opera 10.10 Build 1893
  • Safari 4.0.4 (531.21.10)
  • Internet Explorer 8.0.6001.18702

Please write me if you have other configuration, and it works.

Localization:

I translated it to Hungarian. If you translate it to other language(s), please send me the .mo/.po files, and i will add it to the package.

That’s it.

You can read more about this plugin, updates, users comments at http://vaso.sma.hu/blog/restricted-area-plugin-for-wordpress/

Thank You for use my plugin!

常見問題集

What are user levels?

You can read more about the user levels at the WordPress pages:
https://codex.wordpress.org/User_Levels

使用者評論

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

參與者及開發者

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

參與者

變更記錄

No changelog