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

Restricted content based on purchase

描述

With this plugin, you can mark the content of posts, pages or other products as visible only to users who have purchased the selected product or its variants.

Major features in Restricted content based on purchase include:

  • All content can be hidden in a specific post, page or product options or part of it can be hidden with a shortcode.
  • You can set a default text to appear in place of restricted content.
  • A custom or automatically generated excerpt with a fade out effect may also be shown in place of the restricted content.
  • You can set up redirection so that the user who have not purchased the indicated product cannot enter the post and will be redirected to another page.
  • WooCommerce is needed for the plugin to work.

The plugin is a simple solution for websites offering paid content such as online magazines, courses, etc., that do not need an extensive system with many features, but instead need the ability to limit the visibility of the content based on the purchase of the product.

Includes the following translations:

  • Polish (pl_PL)

螢幕截圖

  • Plugin settings page in the Restricted content menu admin tab.
  • Restricted content options in the post editing screen.

安裝

  1. Make sure WooCommerce is installed.
  2. Upload the plugin to your WordPress site and activate it.
  3. Go to Restricted Content page, where you can change what settings you need.
  4. Set restricted content options in the post or page edit screen.

常見問題

How to use the shortcode?

You can limit the visibility of content by using a shortcode – just wrap the content between [rescon id=”33″] and [/rescon]. Enter the product id as value of the “id” attribute.

Where can i get product id?

Enter the product edit screen and see what number is in the url after ?post=. This is product id. Variants id are shown next to each variant item in the Variants tab.

Why is the length of the excerpt different than the length specified in the restricted content settings?

Probably the post/page has its own custom excerpt. The length in the restricted content settings refers to the automatically generated excerpt extracted from the content of the post/page.

評價

閱讀全部2個評價

貢獻者及開發者

“Restricted content based on purchase” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.0.1

Release Date – 30 August 2021

  • added background compatibility of the excerpt with the global color background when the fading effect is enable

1.0.0

Release Date – 26 August 2021

  • First stable version.