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

WP Site Protect

描述

If you need to protect your WordPress website with multiple unique passwords, WP Site Protect is a great pick. You can create unlimited passwords that can be traced – who used it last time and when, and you can force your fresh baked password to be renewed when it\’s used for the first time.

This is also highly customizable. You can edit all the texts you need or you can even replace the whole template by including a single php file on your theme. You can read more about that on the FAQ.

This plugin is stable, but it\’s still under development. If you find any issues, feel free to open a support request or a Github issue at WP Site Protect repository.

螢幕截圖

  • Password creation page
  • Password details page
  • Password protected site
  • Settings page

安裝

  1. Install WP Site Protect either via the WordPress.org plugin directory, or by uploading the files to your server (/wp-content/plugins/)
  2. Activation can be made in \’Plugins\’ menu
  3. Configure and create your passwords on the Site Passwords admin section.

常見問題

How can I customize the CSS?

Easy! You can use your theme\’s CSS as WP Site Protect pages uses the enqueued script/styles. If you need, you can remove the default WP Site Protect css by dequeueing the wpsp_protect css.

How can I customize the password required template?

You can either just edit the text on the plugin settings, or completely rewrite the template. You have two different templates that you can drop on your theme\’s root:

  • wpsp-protected.php – This is the template for the password request page.
  • wpsp-new-password.php – This is the theme for password renewal page.

You can customize them however you like, but you have to be careful about the forms. If you want, you can use the helper functions wpsp_auth_form() and wpsp_reset_password_form() that will output the correct form. If you want to make your own form, just make sure you keep the same form name and input names.

評價

2016年11月22日
Great plugin, I really like the templating option!
2016年9月3日
Thanks for this! Tho, Chrome is always triggering me to translate the page from portugese. Could you have a look at some of your wording? Also, it would be great if it was possible to add a note for each password, so you can remember who this password is assigned to.
閱讀全部5個評價

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Released first version.