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

WP Block Admin

描述

Block access to the admin interface based on user capability. The default is only editors and admins are allowed access, but the required capability can be set by editing the plugin file.

You can change the configuration of the plugin by modifying the file itself. The two config variables are on lines 18 and 21.

Support Questions

If your question is not answered here, you can try contacting me. However, I don’t actively support this plugin, so I’m not likely to make changes to meet your requirements, etc.
http://www.callum-macdonald.com/contact/

安裝

  1. Download
  2. Upload to your /wp-contents/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

常見問題

Can I change the redirection url?

Yes, you need to edit the plugin file and change the variable on line 21.

Can I change the required capability?

Yes. For more information see the codex for [https://codex.wordpress.org/Roles_and_Capabilities#Capabilities Roles and Capabilities]. Once you’ve chosen a capability, simply edit the plugin file at line 18 and replace “edit_others_posts” with your chosen capability.

I have another question…

If your question is not answered here, you can try contacting me. However, I don’t actively support this plugin, so I’m not likely to make changes to meet your requirements, etc.
http://www.callum-macdonald.com/contact/

評價

2016年9月3日
It's simple and still working(2016).
2016年9月3日
The code for this plugin is very simple which explains why it hasn't needed an update for several years. So far I've installed it on one site and no problems yet. It's a great solution for those sites where the user profile is provided by our front-end and in some cases the username/password are synced from an external source, or depend on external values and therefore can't be modified.
閱讀全部7個評價

貢獻者及開發者

“WP Block Admin” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP Block Admin 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.2.3.0

  • Version bump to relist the plugin on wordpress.org.

0.2.3

  • Redirect to the homepage, not the wordpress url (thanks Nancy).

0.2.2

  • Fixes a bug introduced in 0.2.1 using back ticks instead of quotes.
  • Excludes admin-ajax.php as well as async-upload.php.

0.2.1

  • Bugfix contributed by Sam hermans http://www.greenfudge.org/

0.2

  • Added option to set config vars as constants in wp-config.php

0.1.3

  • Bugfix contributed by Jonah Korbes http://neveradudelikethisone.com/