這個外掛並未在最新的 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

評價

There are no reviews for this plugin.

貢獻者及開發者

“RestrictedArea Plugin for WordPress” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

No changelog