WordPress Membership Plugin – Restrict Content

Descripción

It should be easy to create a membership site! That’s why we created Restrict Content, a simple membership plugin that enables you to restrict access based on user role so that your posts or pages become viewable by logged-in members only. This gives you full control over who can and who cannot view content on your WordPress site.

With over 10,000 active installs, Restrict Content is one of the most popular membership plugins for WordPress. Restrict Content makes it simple to limit access to posts, pages, media, custom post types, and even API requests.

With Restrict Content to create your membership site, you’ll be able to:

  • Protect sensitive content
  • Control user access
  • Collect emails
  • Allow new users to self register
  • Clearly separate public content from private content
  • Restrict access to entire pages or specific sections
  • Let users register and login from the frontend of your site

And if all that is not enough, there’s also a pro version which you can easily upgrade to which enables even more membership features.

An excellent plugin. I didn’t think that it would work out of the box as well as it did – very little configuration required. It just works – brilliantly.
@8mediacentral

Restrict Content features

  • Limit access to content with a shortcode. Example: [restrict]This content is limited to logged in users.[/restrict]
  • Limit access to content based on user role. Example: [restrict userlevel="editor"]Only editors and higher can see this content.[/restrict]
  • Limit access to full content via a simple interface on the post, page, and custom post type editing screens.
  • Display a registration form for new accounts on any page of your website with [register_form].
  • Display a login form for existing users on any page of your website with [login_form].
  • Specify the message shown to users who don’t meet the role requirement.
  • Optionally hide content in RSS feeds.

I have been using this plugin on multiple websites for restricting visitors from accessing membership-like pages. It has worked exactly as it is described to. It was very simple to set up and get working. I highly recommend this plugin if you are looking for something to restrict content.
Frank Corso, frankcorso.me

Restrict Content Pro features

If you’re looking for more – like the ability to accept payments – here are just a few of the features included in Restrict Content Pro:

  • Self-service account management
  • Unlimited membership levels
  • Payment processing support for Stripe, PayPal, Authorize.net, and other payment gateways
  • Email marketing support for Mailchimp, AWeber, ConvertKit, and other providers
  • AffiliateWP integration
  • Restrict access to WooCommerce products
  • Discount code support
  • Gestión completa de miembros
  • Email members membership updates
  • CSV data export capabilities
  • Detailed reporting
  • Developer-friendly for building custom integrations
  • Large ecosystem of official and 3rd party add-ons

“When it comes to a fast and clean membership site, nothing is faster for end users than RCP. When it comes to extensible code that a developer will love, nothing is better than Pippin’s code.”
Chris Lema, chrislema.com

By upgrading to Restrict Content Pro you also get access to one-on-one help from our knowledgeable support team and our extensive documentation site.

That’s why so many small businesses and successful membership sites use Restrict Content Pro to manage memberships on their WordPress sites. Check out some examples in our customer showcase.

Want to see what Restrict Content Pro looks like for customers? Check out our live demo and our collection of screenshots.

Who is Restrict Content Pro for?

No matter what kind of membership site or plans you offer, Restrict Content Pro can be adapted to suit your business needs – and set up in many different ways, based on how you want to allow members to access your site’s content.

Here are a few examples:

“RCP is always at the top of my list when helping clients choose a membership platform. In addition to being a great plugin ​today​, the pace of improvement is impressive. RCP gets better and better all the time.”
Travis Northcutt, Member Up

Upgrade to Restrict Content Pro now

Read more details about the features Restrict Content Pro has to offer:

Complete membership management

Restrict Content Pro lets you easily keep track of your memberships through an intuitive admin interface. Quickly view active, expired, cancelled, and pending memberships.

Memberships can be added manually, modified in bulk, and easily searched for when you need to locate a specific record. Each membership can also be manually modified at any time.

Unlimited membership levels

Restrict Content Pro allows site administrators to create any number of membership levels that customers can register for. Membership level options are displayed on the registration page and customers can select the one they wish to purchase.

For each membership level, you can:

  • Set any price (including free)
  • Optionally set a sign up fee
  • Optionally set a trial period
  • Set the frequency and period
  • Specify a user role that will be assigned to members when they register

Customers can also upgrade and downgrade between membership levels at any time. These upgrades and downgrades are prorated based on how much the customer has already paid and how much time is left in their current membership.

Stripe payment processing support

It’s no secret that we believe Stripe is the best payment processor. Stripe currently supports 14 languages, over 35 countries and 135+ currencies. Check support for your country.

Hands down, Stripe has the simplest setup process and highest reliability we know of – and support for Stripe is included in Restrict Content Pro. Stripe has a per-transaction charge which varies by country. See Stripe’s pricing page for more information.

However, if you prefer a different payment gateway or your country does not support Stripe, we’ve got you covered…

Other payment gateway integrations

Besides Stripe, we have several payment gateways available to Restrict Content Pro site owners. Visit the following links to get more details for the payment gateway of your choice.

Integración de WooCommerce

Restrict Content Pro allows you to easily control who can view and/or purchase products in WooCommerce, the most popular eCommerce plugin for WordPress.

Self-service account management

Restrict Content Pro includes a complete customer dashboard that allows members to manage their account.

Members can easily view their account status, renewal or expiration date, and options to upgrade or cancel their account. They can also access a complete history of payments made to their account including invoices for each payment.

Finally, members are able update their account name, email, and password through an included profile editor.

Prorated upgrades and downgrades

Your membership site can have any number of membership levels and customers can upgrade and downgrade between those membership levels whenever they wish. If a customer chooses to upgrade or downgrade, their new purchase will be prorated based on what they have already paid and how much time is left in their current membership.

Export data to CSV

We firmly believe and stand behind the philosophy of owning your own data. For this reason, all data stored in Restrict Content Pro can be easily exported to a CSV file.

Whether you prefer to maintain your own records of your memberships database, you wish to run your own analysis, or you simply need to import membership records into another service or application, such as MailChimp or Excel, Restrict Content Pro allows you to export all membership records to a CSV at anytime.

Transaction history can also be easily exported to a CSV file, letting you then import the payment data into Excel, QuickBooks, or any other accounting software that can process a CSV file.

Offer discount codes to customers

Discount codes allow you to provide your customers with special promotional codes that give them a discount on the purchase of a membership.

Restrict Content Pro supports various kinds of discount codes and site administrators can easily create any number of discounts from the admin interface. Discount codes can be set up to provide a percentage discount or a flat rate discount. Each discount code is created with a name, description, unique code, maximum uses, and optional expiration dates.

Email members membership updates

Keeping your customers informed about their membership is highly important for membership websites. Restrict Content Pro includes a number of automatic emails that can be configured to be delivered when a customer’s membership is updated.

These emails are configured by the site administrator and can be sent during the following events:

  • New paid membership is activated
  • New free membership is activated
  • New trial membership is activated
  • Membership is cancelled
  • Membership has expired
  • Membership is expiring soon
  • Membership is renewing soon
  • Renewal payment is received
  • Renewal payment failed

Each of the emails can be configured independently.

Detailed reporting

Restrict Content Pro provides a complete reports section where you can view the earnings of your membership website. You can view total earnings for any given period or drill down to specific membership levels.

Additional reports include account registrations over time and complete transaction tracking of all membership payments.

Member approval workflow

Many membership sites want to strictly control which members get access to premium content. Restrict Content Pro offers a direct integration with WP Approve User, giving site administrators the ability to moderate member registration.

After a member’s account is registered, administrators will be given an option to Approve the account. Only once the account is approved can members access premium content. If a member’s account needs to be disabled, an Un-approve option is available.

Email marketing service provider add-ons

With a Professional or higher license, you can connect Restrict Content Pro to any of the following email marketing service providers. This allows you to add members to your mailing lists for different membership levels as well as synchronize account details.

Other pro add-ons

A Professional or higher license also grants you access to our Pro add-ons, which include:

  • Group Accounts – Sell multi-member group memberships.
  • Drip Content – Release content to members on a schedule.
  • Custom Redirects – Specify where members are redirected on a per-membership-level basis.
  • WooCommerce Member Discounts – Give members automatic discounts on purchases in your WooCommerce store.
  • Site Creation – Allow paid members to purchase sites in a WordPress multisite.
  • Restriction Timelock – Keep content unrestricted until a specified date in the future.
  • Restriction Timeouts – Specify a date and time when restricted content will have its restrictions removed, making it available to everyone.
  • Restrict Past Content – Restrict content published prior to a member’s join date.
  • Hard-set Expiration Dates – Allows for a specific expiration date to be assigned to membership levels.
  • Help Scout – Display customer’s membership information from Restrict Content Pro inside of Help Scout when viewing tickets.
  • REST API – A complete RESTful API for developers and external applications to interact with membership data in Restrict Content Pro.
  • Math Verification – Add a math verification field to registration forms.
  • IP Restriction – Allow specific IP addresses to bypass content restrictions and ban other IP addresses from signing up for a membership plan.

Even more add-ons

Some more of our free and paid add-ons available to all Restrict Content Pro license owners:

  • AffiliateWP – Easily add a full-featured affiliate marketing solution to your WordPress site. We love it, but we are biased. It’s created by us!
  • WP Job Manager – Limit job submissions to paid membership.
  • EDD Member Downloads – Offer membership plans that grant access to a specified number of free unique downloads (within Easy Digital Downloads) each billing period.
  • EDD Member Discounts – Create automated discounts that give your paid members a special discount on all Easy Digital Downloads purchases.
  • EDD FES Vendor Limits – Charge vendors to publish products with Frontend Submissions for Easy Digital Downloads and control the number of products they can publish.
  • EDD Wallet – Deposit funds into a member’s Easy Digital Downloads wallet account when they subscribe to your memberships.
  • Limited Quantity Available – Limit the number of times membership levels may be purchased.
  • Download Monitor – Restrict access to your Download Monitor downloads to active members.
  • MailPoet – Allow members to subscribe to email lists in MailPoet during registration.
  • bbPress – Add support for limiting bbPress forums and topics to paid members and / or members with specific access rights.
  • CSV User Import – Import and / or update member accounts from a CSV file.
  • Enforce Strong Passwords – Enforce strong passwords during registration.

Besides our official and pro add-ons, there are also add-ons available for Restrict Content Pro created by other 3rd party developers.

Developer-friendly

Restrict Content Pro has been built with developers in mind. That means it is flexible, easy to extend, and chalked full of action hooks and filters, making it easy to modify and tweak to your specific needs.

With clean and simple display options, Restrict Content Pro is designed to integrate perfectly with every theme without any custom CSS being necessary.

Extensive and easy to modify template files are included with Restrict Content Pro. If you have built a theme, for clients or general distribution, you can easily customize the display of registration forms, profile editor, account pages, and more through custom template files added directly to your theme’s folder.

Because of the huge number of action hooks and filters, Restrict Content Pro can be easily integrated with other plugins to help provide a more seamless experience for customers. This also makes it possible to build add-on plugins for Restrict Content Pro that extend its functionality. See our developer docs and code snippet library for more.

Upgrade to Restrict Content Pro now

Get reliable help

Restrict Content is backed by top-notch technical support from our globally distributed full-time support team. We also have an extensive documentation site available. If you’re looking for faster support via email, we encourage you to purchase a Restrict Content Pro license.

Meet the team

Restrict Content is built by Sandhills Development. We make popular WordPress plugins used by hundreds of thousands of people just like you. Get to know us here!

From our blog

Check out some of our popular posts for actionable advice for running membership sites.

Subscribe to our newsletter to get posts like these in your inbox as soon as they’re published.

Contribute to Restrict Content

Development for this plugin happens in a public GitHub repository to better facilitate contributions from an active community of users, developers and designers. If you have a suggestion, bug report, patch, or pull request, please feel free to contribute here or to our code snippet library.

Looking for something else?

If Restrict Content doesn’t quite fit your needs, take a look at some of our other projects.

Capturas

  • Restrict Content settings screen
  • Meta box on page / post edit screen for restricting content
  • Example of the message shown to users who do not have the required role to view the content, in this case a "Contributor" role

Instalación

  1. Sube la carpeta «restrict-content» al directorio «wp-content/plugins»
  2. Haz clic en «Activar» en el menú de plugins de WordPress
  3. Ve a Ajustes > Restrict Content y personaliza los ajustes del mensaje
  4. Sigue las siguientes instrucciones para restringir el contenido.

To restrict an entire post or page, simply select the user level you’d like to restrict the post or page to from the drop down menu added just below the post/page editor.

To restrict just a section of content within a post or page, you may use shortcodes like this:

[restrict userlevel=»editor»] . . . your restricted content goes here . . . [/restrict]

Los valores del nivel de usuario aceptados son:
* administrador
* editor
* autor
* suscriptor
* colaborador

There is also a short code for showing content only to users that are not logged in.

[not_logged_in]This content is only shown to non-logged-in users.[/not_logged_in]

FAQ

Can I just restrict part of a post / page?

Yes. You can choose exactly which content to protect with the [restrict] shortcode. You can set the userlevel attribute to specify which role is required to view the content. For example, to restrict to editors you would use: [restrict userlevel=”editor”]Your protected content here.[/restrict]

Can I charge customers when they register an account?

Not with this plugin, but we do offer a Pro version that does include full support for charging for memberships and integrating with Stripe, PayPal, Authorize.net, and more.

Does the plugin protect images and other media files?

Yes. Restrict Content can restrict access to media that is embedded within a post or page, but it does not protect the original file URL on the server.

Can I restrict content in my RSS feed?

Yes. There’s a checkbox for this within each post/page. If enabled, that content in your RSS feed will be restricted.

Can I integrate newsletter signups with the registration form?

Not with this plugin, but the Pro version has integrations for many popular email marketing providers, including Mailchimp, ConvertKit, ActiveCampaign, and more.

Do restrictions work in REST API requests?

Yes. All restrictions apply in REST API requests – exactly the same as if viewing your site normally.

Does Restrict Content work with the Gutenberg editor?

Yes. Full page restriction settings as well as the [restrict], [register_form], and [login_form] shortcodes all work with Gutenberg.

Does this plugin support restricting access by custom user roles?

Not with this plugin, but the Pro version provides the ability to limit access based on custom roles.

Will the plugin work with third party page builders?

Restrict Content works with most third party page builders. However, if using the [restrict] shortcode, most page builders will require that the opening and closing shortcode tags be within the same element/block.

Does this plugin include frontend login or registration forms?

Yes. Restrict Content includes shortcodes for a registration form, a login form, and a password reset form.

Reseñas

11 de junio de 2020
Very elegantly created, just what is needed for content restriction. Tons of flexibility and easy to use. Well done guys!
5 de febrero de 2020
RCP wasnt very intuitive to me to set up at first, but when i got into the logic of customer/subscription/trials/notifications i have to say its working fine for me. So i switched to PRO. I tried other premium-content solutions and found for me that RCP does the job best. Also i have to thank the RCP team for excellent support and patience with me and my project. Thank you guys.
30 de diciembre de 2019
This plugin has served me well for years already. After reading some of the negative reviews, I felt the need to post a positive one. My impression of most of the negative reviews is that those come from people that haven't properly read the plugin's features or from people that didn't get the plugin to magically do exactly what they wanted within two minutes and then blamed the plugin. In other words, I feel most bad reviews are undeserved. Anyway, onto my own review. Like I said I've been using this plugin for years and I'm perfectly happy with it. I've never had any single problem with it. Yes the features and capabilities of the free version are basic, but it's perfect for my use case (restricting certain pages to logged in users). The only issue I've had is when using this plugin combined with the W3 Total Cache plugin with browser cache enabled. This lead to users seeing the "you need to be logged in" message on a restricted page that they had already visited before logging in. But I found a workaround for that which also increased the user friendliness of my site in the process. What I did was I altered this plugin's "Restricted Message" to include a login prompt like so: <p>You need to be logged in to view this part of the website.</p><p>[not_logged_in][login-form][/not_logged_in]</p>. This way a user can log in on any restricted page, instead of having to navigate to the login page and then back to the page they wanted to view, which would then be served from the browser's cache and still display the "you need to be logged in" message unless the user manually reloaded the page. Since the act of logging in forces a reload of the page you're on, the actual content automagically appears, instead of the browser serving up the cached page. This is exactly the kind of issue that I've seen other users blame this plugin for, when in reality it's due to an interaction between this and another plugin. So take it from me, this plugin works. And if it appears it doesn't, it's worth investigating, because most likely there is something else going on that's causing it.
Leer todas las 49 reseñas

Colaboradores y desarrolladores

«WordPress Membership Plugin – Restrict Content» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«WordPress Membership Plugin – Restrict Content» ha sido traducido a 8 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «WordPress Membership Plugin – Restrict Content» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

2.2.4

  • Note: Tested with WordPress 5.3.
  • Improvement: Display wp_signon() errors while processing login.
  • Fix: Typo in setting description.
  • Tweak: Adjusted plugin author name and URL.

2.2.3

  • Fix: Registration now works properly if you have JavaScript disabled in your browser.

2.2.2

  • Fix: Content visibility in the REST API.

2.2.1

  • Tweak: Remove hard-coded red color from restricted message. A class rc-restricted-content-message has been added to the span tag if you’d like to add the color back in with CSS.
  • Tweak: The Restrict Content plugin is now auto deactivated when Restrict Content Pro is activated.

2.2

  • New: Login form shortcode – [login_form]
  • New: Password reset form – part of the [login_form] shortcode
  • Nuevo: formulario de registro de usuario – shortcode [register_form]
  • Nuevo: compatibilidad mejorada con Restrict Content Pro, lo que permite actualizaciones sin inconvenientes
  • Fix: Undefined index PHP notice
  • Tweak: General code cleanup and improvements

2.1.3

  • Fix: Undefined nonce index when saving some post types
  • Fix: Removed restrict metabox from post types that it does not apply to
  • Fix: Made restricted message shown in feeds translatable
  • Fix: Some text strings not translatable
  • Tweak: Added new rcp_metabox_excluded_post_types filter

2.1.2

  • Se eliminó la pestaña de ayuda contextual incorrecta

2.1.1

  • Some general code cleanup and compatibility checks for WordPress 4.1+

2.1

  • Improved settings page to match core WordPress UI
  • Fixed problem with unescaped HTML in restricted messages options
  • Added complete internationalization on default language files

2.0.4

  • Added do_shortcode() to the not logged in short code

2.0.3

  • Fixed a problem with the not logged in short code.

2.0.2

  • Added new [not_logged_in] short code.

2.0

  • Added settings page with options to configure each of the messages displayed to users who do not have permission to view a page.
  • Mejorado el rendimiento de varias funciones.
  • Mejor organización de los archivos de complementos e infraestructura mejorada para las nuevas características que están por venir .