WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Super Simple Post / Page Restrictor

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

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

Super Simple Post / Page Restrictor

由arippberger
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

SSPPR provides a super simple way to restrict specific post/pages/custom post types. The plugin adds a checkbox to the post type you’d like restricted. If the checkbox is checked, POW, that post is restricted –accessible only to logged-in users.

Configuration

Page unavailable text

  • Here you can customize the text that will be displayed to users who do not have access to a post / page.
  • If left blank, this defaults to “This content is currently unavailable to you”.

Apply to which post types?

  • The post restriction metabox/checkbox will only appear on the backend of the post types selected here.
  • Additionally, if post types not selected here will not be restricted. If you’ve restricted certain pages and then deselect pages from this list, those pages will become accessible to all users (even though you previously restricted them).

Prevent restriction for which user types?

  • User roles selected here will never be able to view restricted content
  • User roles selected here will never be able to see restricted content, regardless of whether they are logged in.

Default restriction?

  • If this option is checked, posts / pages that are auto-generated should be restricted in most cases.
  • If this option is checked, newly created posts / pages should have their ‘restrict content’ checkboxes checked.

Future Development

I’d like to add the following features to the plugin. If you have suggestions for added features please email me at arippberger@gmail.com.

  • Add shortcode to restrict content – content placed between start/end shortcodes would be restricted
  • Resctrict content in RSS feeds

安裝

Manual Installation

  • Download the plugin zip file and extract in your plugins directory
  • Configure the plugin setting found under Settings->Super Simple Post / Page Restrictor
  • Edit the post / page you’d like to restrict. There should be a checkbox labeled “Restrict Post?” – check this to restrict the current post / page.

Automated Installation

  • From the WordPress dashboard, click “Plugins->Add New”
  • Search for “Super Simple Post / Page Restrictor”
  • Click “Install Now” and then “Activate Plugin”
  • Configure the plugin setting found under Settings->Super Simple Post / Page Restrictor
  • Edit the post / page you’d like to restrict. There should be a checkbox labeled “Restrict Post?” – check this to restrict the current post / page.

常見問題

  • Q – How can I suggest features?

    • A – Email arippberger@gmail.com

    • Q – I just installed your password protection plug-in, but don’t see how to set the password.

    • A –
      All plugin plugin settings are located under Dashboard->Settings->Super Simple Post / Page Restrictor Settings. The plugin doesn’t add a global password to the site, it adds a checkbox to the backend of posts/pages. If that checkbox is checked a user can only view the page content if they are logged in (you can configure the options to prevent the content from EVER showing up for certain user types).

You could potentially use the plugin as a global lockout. To do so you’d want to 1) check the restrict content checkbox on the backend of the content you want to restrict 2) assign your user (someone who you want to grant access to the content) a username / password or direct them to create one for themselves 3) ensure the plugin settings allow the correct user type access. I’d imagine you’d want to restrict access to subscribers as WordPress usually allows these users to be created by anyone.

If that won’t work for you I’d try a plugin like https://wordpress.org/plugins/password-protected/

評價

One Of The Best

Mr Roger Hewison 2016年9月3日
I am very Skeptical about using Plugins because this is a Business Website. Because this Plugin Works, and Works Very Well. There were No Installing issues, worked strait away. Simple Added Text for NON Registered users and selected which page i wished to block from Non Members. Congratulations on a Great Plugin…
閱讀全部2個評價

貢獻者及開發者

“Super Simple Post / Page Restrictor” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • arippberger

將 Super Simple Post / Page Restrictor 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

  • 1.0 – Initial commit
    • 1.0.1 – Plugin cleanup and added translation support

其它

  • Version 1.2.1
  • Last updated 9 年之前
  • Active installations 50+
  • WordPress version 3.0.1 or higher
  • Tested up to 4.5.32
  • Language
    English (US)
  • Tags
    loginrestrict contentuser login
  • 進階顯示

評分

5 out of 5 stars.
  • 2 5-star reviews 5 stars 2
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

貢獻者

  • arippberger

支援

有話想說?需要協助?

檢視支援論壇

捐贈

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。