Title: Restricted content based on purchase
Author: Maciej Molenda
Published: <strong>26 agosto, 2021</strong>
Last modified: 23 abril, 2026

---

Pesquisar plugins

![](https://ps.w.org/restricted-content-based-on-purchase/assets/icon-128x128.jpg?
rev=2590968)

# Restricted content based on purchase

 Por [Maciej Molenda](https://profiles.wordpress.org/maciex777/)

[Baixar](https://downloads.wordpress.org/plugin/restricted-content-based-on-purchase.1.0.5.zip)

 * [Detalhes](https://br.wordpress.org/plugins/restricted-content-based-on-purchase/#description)
 * [Avaliações](https://br.wordpress.org/plugins/restricted-content-based-on-purchase/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/restricted-content-based-on-purchase/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/restricted-content-based-on-purchase/#developers)

 [Suporte](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/)

## Descrição

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)

## Capturas de tela

[⌊Plugin settings page in the Restricted content menu admin tab.⌉⌊Plugin settings
page in the Restricted content menu admin tab.⌉[

Plugin settings page in the Restricted content menu admin tab.

[⌊Restricted content options in the post editing screen.⌉⌊Restricted content options
in the post editing screen.⌉[

Restricted content options in the post editing screen.

## Instalação

 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.

## Perguntas frequentes

### 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.

### Does the plugin work with the block editor?

The plugin works with both the Gutenberg Block Editor and the Classic Editor.

## Avaliações

![](https://secure.gravatar.com/avatar/52fb5c19d725df61cb1692dc3b4c6d318f7fc3fa3a121de472a8a6f6acff86a7?
s=60&d=retro&r=g)

### 󠀁[Does what it says in the tin](https://wordpress.org/support/topic/does-what-it-says-in-the-tin-4/)󠁿

 [tambourinemanhn](https://profiles.wordpress.org/tambourinemanhn/) 17 outubro, 
2022

Simple and works well

![](https://secure.gravatar.com/avatar/17af7f59694adb1a9e8cef4d575a25a80a1dff42694b9c2e8a7a9c5c085ba6c2?
s=60&d=retro&r=g)

### 󠀁[awesome plugin](https://wordpress.org/support/topic/awesome-plugin-6554/)󠁿

 [Arun Kumar](https://profiles.wordpress.org/procontentxyz/) 17 agosto, 2022

Such an awesome plugin. Thanks

 [ Leia todas as 2 avaliações ](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/reviews/)

## Colaboradores e desenvolvedores

“Restricted content based on purchase” é um programa de código aberto. As seguintes
pessoas contribuíram para este plugin.

Colaboradores

 *   [ Maciej Molenda ](https://profiles.wordpress.org/maciex777/)

[Traduzir o “Restricted content based on purchase” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/restricted-content-based-on-purchase)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/restricted-content-based-on-purchase/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/restricted-content-based-on-purchase/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/restricted-content-based-on-purchase/)
por [RSS](https://plugins.trac.wordpress.org/log/restricted-content-based-on-purchase/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0.5

_Release Date – 24 April 2026_

 * fixed plugin uninstallation issue

#### 1.0.4

_Release Date – 24 April 2026_

 * changed WYSIWYG editor sanitizer
 * removed the html wrapper from the “Default replacement content” editor and changed
   the way data is retrieved from it
 * added admin notification

#### 1.0.3

_Release Date – 11 February 2026_

 * improved security

#### 1.0.2

_Release Date – 02 August 2025_

 * fixed plugin translation
 * added alert about required WooCommerce installation

#### 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.

## Meta

 *  Versão **1.0.5**
 *  Última atualização **6 meses atrás**
 *  Instalações ativas **30+**
 *  Versão do WordPress ** 4.0 ou superior **
 *  Testado até **6.9.10**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/restricted-content-based-on-purchase/)
 * Tags
 * [hidden content](https://br.wordpress.org/plugins/tags/hidden-content/)[restricted content](https://br.wordpress.org/plugins/tags/restricted-content/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/restricted-content-based-on-purchase/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  2 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/reviews/)

## Colaboradores

 *   [ Maciej Molenda ](https://profiles.wordpress.org/maciex777/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/restricted-content-based-on-purchase/)