Restrict Anonymous Access
Adds a shortcode to restrict content from anonymous users.
Maintenance 40/100343d since update
Active installs
80
Downloads
3,159
Reviews
3
Age
8.6y
Tagsaccess-controlrestrict contentcapabilitiesUser Access
Plugin info
Total downloads: 3,159
Active installs: 80
Total reviews: 3
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 1/21/2025 (343 days ago)
Added to WordPress: 6/9/2017 (8 years old)
Minimum WordPress version: f
Tested up to WordPress version: 6.7.4
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Stale • Last updated 343 days ago • 3 reviews
40/100
Is Restrict Anonymous Access abandoned?
Likely maintained (last update 343 days ago).
Compatibility
Requires WordPress: f
Tested up to: 6.7.4
Requires PHP: f
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
PublishPress Permissions: Control User Access for Posts, Pages, Categories, Tags
Rating 4.3/5 (60 reviews) • Active installs 10,000
WPFront User Role Editor
Rating 4.5/5 (65 reviews) • Active installs 40,000
User Login Magic Links
Rating 0.0/5 (0 reviews) • Active installs 50
Userbase Access Control
Rating 5.0/5 (1 reviews) • Active installs 10
RS User Access
Rating 0.0/5 (0 reviews) • Active installs 10
🔐 Access Control – Take Full Control of WordPress User Permissions
Rating 0.0/5 (0 reviews) • Active installs 10
Description
This plugin helps you to hide certain parts of your content like a paragraph or an image etc. to logged-out users or users of any other role with just a simple shortcode.
Customize the shortcode in order to display a special note to your users, apply custom CSS classes for your own design or hide the restricted parts completely.
Features:
- text within shortcode
[member][/member]is not visible to anonymous users - hide content based on user roles (subscriber, contributor, author, editor, admin)
- restricted text can be replaced with info text box
- info text can be customized
- comes with a handy TinyMCE button for quick access
Installation
- Upload the plugin files to the
/wp-content/plugins/restrict-anonymous-accessdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the shortcode
[member][/member]in any post, page or custom post type in order to hide content from anonymous users. Important: Please use “Classic” block element if you are using Gutenberg. - Optional parameters are
showinfo="0"to hide the info message,infotext="Your custom info for anons."andclass="my-custom-css-class"for adding CSS class to the info box. - Use parameter
role="[subscriber|contributor|author|editor|admin|your-custom-role]", e.g.role="editor"to hide content from users below editor capabilities.
Frequently Asked Questions
No FAQ available
Review feed
No reviews available
Changelog
1.2.1
- Fixed vulnerability to Cross Site Scripting (XSS).
- Tested with WordPress 5.7.1.
1.2
- Added compatibility to custom user roles.
- Added HTML support for infotext parameter.
1.1
- Added optional user role based content restriction.
1.0.3
- Tested with WordPress 4.8.
- Fixed: Text output with paragraph tag (wpautop).
1.0.2
- Initial release for WordPress plugin directory.


