This plugin will very easily let you restrict content on your WordPress site to registered users. It permits you to restrict entire posts / pages or individual sections of content within a post or page.
Features
- Restrict entire posts / pages.
- Restrict sections of content.
- Unlimited number of restricted areas.
- Works with all Custom Post Types
- Five restriction levels – uses WordPress’s regular user levels.
- Hide content displayed in WordPress feeds.
Usage
First upload to wp-content/plugins and click activate from the WordPress plugins menu.
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] |
Accepted userlevel values are:
- admin
- editor
- author
- subscriber
- contributor
There is also a short code that can be used for showing content to users that are not logged in:
[not_logged_in]This is only shown to non-logged-in users[/not_logged_in] |
A premium version of this plugin can be found here.
Hi, just installed your plugin on a test site of ours and I am wondering if there is a way to restrict menus from a non member. What I want to do is display a set of menus for anyone, then have a members section so they can log in. Once they do, I’d like to show them the additional menus they can’t see if not logged in.
Any way to do this with your plugin?
Thanks.
No but you can use the plugin called Nav Menu Roles to do that.
Use.. http://menu.megamain.com/
I used it…. works like a charm
Hi, is there a way to restrict a shortcode. I have this [gallery ids="492,494,495,493"], but when I put the restrict shortcode like this [restrict userlevel="guests"][gallery ids="492,494,495,493"][/restrict] doesn’t work. And other thing, if I restrict something in the post, it doesn’t restrict it in the “feed” page of all posts.
No, sorry. The Pro version would allow you to do that, however.
Great plugin. Simple and useful!
Hi, It installed perfectly on the menu tab page I wanted. However, I do not understand once I have selected subscriber for this page, how do people sign up so they can see further into the content?
Apologies…
Hi Fiona,
To register for your site, users can go to yoursite.com/wp-register.php
Hi,
Is there a way to hide the post title until the user has logged in:? At the moment, The post title is displayed, but the content is not visible, would there be a way to remove the post title so it remains invisible until someone has logged in?
Many Thanks
No, sorry, that’s not supported.
Hi. Is there a way this plugin could work with the Visual Composer plugin. It seems it does not work for some reason. Thanks
No, sorry, the two plugins are not compatible.
Hi Pippin,
Is there a way to add users to the subscriber group automatically from the Getresponse email list?
I would like for them to added automatically after subscribing for the free gift and then go to the page to access it.
Thanks.
No, sorry.
Hi, is it possible to restrict entire categories and all posts under them with this plugin?
Many thanks
Graeme
Not with the free version but the Pro version does support that: https://pippinsplugins.com/products/restrict-content-pro/
How to upgrade from free to pro?
Just purchase the pro
Yep!
is there a way to restrict media to non paid members? I only want the people who subscribe and pay on my site to see any pictures or media. is this possible?
Not at this time.
Hi There,
Attempting to make a page accessible to only the Administrator. I’ve set the user level as such and updated the page however it’s still public. I’ve checked from another browser where I’m not logged in.
Any ideas?
Could you show me a screenshot of the edit screen for the page?
I am a super novice at this stuff… know just enough to be dangerous. I have activated your plugin but feel I am having trouble getting to work on my site (still in development).
I want to restrict an area of my website for our members only. I will have 1 username and password for everyone who is a member. I followed your instructions of how to install it… chose a subscriber level, etc. When I go to the page I am trying to restrict, I don’t see that anything changed. I don’t see my message or a place to enter a username and pass word.
Help?
Thanks – Grant
This plugin won’t show a login form for users to log in. It simply restricts the content.
You will need to send your users to /wp-login.php to log in or place a login form from another plugin somewhere on the page.
What would be the best way to show you a screen shot of the edit page? Following up on my post for August 26
Upload it to imgur.com and then share the link here.
Hi
I was looking for a plugin that can hide content on a WP post but the html code can still be read by google bots. Does this plugin allow this?
Thanks Adrian
No, the content will be hidden from google bots.
Don’t get this plugin. I have set a post to be viewed by subscribers… But when I test it and subscribe I still don’t have access to the post. Am I missing something here?
What plugin are you using to subscribe and create the user accounts?
im using the plugin for subscription that is implemented in the rigel theme
its normal wordpress subscribe
Can you show me a URL to the page that is not working?
Hello, in your plugin you can restrict certain scripts or pages to different users?
example:
The Administrator sees: Hello 1
The student can not see Hello 1
Thank’s
No, that’s not supported.
Does this plug in integrate with mailchimp?
The Pro version does: http://restrictcontentpro.com
Thanks Pippin. Is the fee for the pro version a recurrent fee or a one off?
It is a yearly fee with an optional renewal after the year. See this for more information: http://docs.pippinsplugins.com/article/988-do-i-need-to-renew-my-license
We use the free version of your plugin to restrict the visibility of certain content on our site. As an example, we have a local coupon page (http://croton.suburbanguides.com/local-coupons/) that shows Coupons if someone is logged in as a Subscriber (or higher). If the individual is not logged in, the get the message: “In order to view this material, you need to be a Subscriber. Please register or Log-in.” If they register or log-in, the Coupon info become visible.
We also have a weekly email that goes out via MailChimp. However, for this we use a MailChimp landing page. This is a separate MailChimp sign up process similar to the one found here: http://suburbanguides.us11.list-manage.com/subscribe?u=14a919f0f62ebc0c615268d4b&id=627f34320e.
The problem is that:
• If they register on our site, they are not automatically signed up for our email.
• If they register for our Weekly email, they are not automatically registered on our site.
Is there a method to combine these two registration needs so that subscribers only have to subscribe one time to get the benefits of both?
David,
You could use the Pro version along with the MailChimp Pro add-on:
http://restrictcontentpro.com
http://restrictcontentpro.com/downloads/mailchimp-pro/
Hello,
How can I restrict a section of my content to multiple user roles? Does this plugin have that kind of feature?
Thanks
No, that’s not supported.
Hi, thanks for the great plugin.
I was just wondered if what I’m encountering here is a bug. On the Edit Media page I’m editing a video’s details. But when I set the User Level and then click Update the settings aren’t saved, and the page is still public.
There are no errors in the PHP error log.
Any ideas?
That is a bug. The plugin doesn’t currently support restricting media pages.
Your plugin keeps giving me this error:
Notice: Undefined index: rcMetaNonce in /home/content/n3pnexwpnas02_data02/30/3153330/html/wp-content/plugins/restrict-content/includes/metabox.php on line 85
Any help here?
Sorry for not seeing your comment earlier! I had some issues with Akismet automatically trashing a bunch of comments.
That error has been fixed.
Hi,
Is there any kind of configuration to do where the restrict mode is enabled by default?
For example:
I’m going to create a new post and the form will be set up to be restrict, without user check this option.
Thanks
No there is not, sorry.
Pingback: Turn Your WordPress Blog Into A Membership Site
Hi!; is this plugin going to work with Divi Builder?
I guess the only way would be to insert the shortcodes in the code modules that Divi has, but the browser wouldnt read the page as a flow, but as blocks…right?
Thanks !
I don’t believe it will at this time but I have not personally tested it.
How do I restrict content by custom roles? Does the pro support that?
Sorry for not seeing your comment earlier! I had some issues with Akismet automatically trashing a bunch of comments.
We don’t currently support custom roles in the free or pro versions, but it’s on our todo list for the pro version.
Is there a way to create separate groups within your plugin? I have a membership community in which some people are general members and some people are in specific smaller groups within the community. I’d like those groups to only see their groups content.
Hi Mike!
That can be done with the Pro version of the plugin: https://restrictcontentpro.com
Really? I’ve been looking at the screenshots on your pro site and I’m not seeing how to handle groups.
Can you please be more specific?
Thanks!
Each group would be a separate subscription level. Content can then be restricted to individual subscription levels, giving each group content only they can access.
Hi:
sorry for my bad english , This plugin does what you say exactelly , it hide menu from restricted users , but the posts and pages content still visible by enter urls adress in navigator , i can do that by if (is_user_logged_in) , so for me not usefull
I have Woocommerce installed. Will the Pro version be in conflict?
That will work just fine!
Sir i have used the plugin
there is a shortcode to protect content[not_logged_in]Login to view[/not_logged_in]
after the visitor logged the pdf or video should be allowed to viewed how to achieve
Is it possible to restrict content based on username?
Not at this time.