Restrict Anonymous Access
Adds a shortcode to restrict content from anonymous users.
Solid choice
Restrict Anonymous Access is a solid plugin choice in 2026, with a few things worth checking first. It runs on 70+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 75/100 on our health check.
- Actively developed — last update 2 weeks ago
- Tested with the latest WordPress (7.1)
- Small user base (70+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Restrict Anonymous Access stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| access-control | #31 |
| capabilities | >100 |
| restrict content | #28 |
| User Access | #52 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About Restrict Anonymous Access
From the official readme · v1.3Description
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.
Changelog
1.3
- Security: content for custom roles is no longer shown in feeds.
- Fixed: the editor button icon now also works if WordPress uses a custom plugin directory.
- Fixed: stylesheet is only loaded where the info box is displayed.
- Changed: text domain to restrict-anonymous-access so that translations from wordpress.org work.
- Tested with WordPress 7.1.
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.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Restrict Anonymous Access alternatives
All access-control plugins →FAQ
Restrict Anonymous Access: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Restrict Anonymous Access free?
Yes. Restrict Anonymous Access is free to download and use from the official WordPress.org plugin directory.
Is Restrict Anonymous Access safe to use in 2026?
Restrict Anonymous Access is a solid plugin choice in 2026, with a few things worth checking first. It runs on 70+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 75/100 on our health check.
How many websites use Restrict Anonymous Access?
Restrict Anonymous Access is active on 70+ WordPress websites and has been downloaded 4,139 times since it launched in June 2017. It was downloaded 350 times in the last 30 days.
Does Restrict Anonymous Access work with WordPress 7.1?
Yes. The developer has tested Restrict Anonymous Access up to WordPress 7.1.5, the latest release. It requires WordPress 5.9 or newer.
What PHP version does Restrict Anonymous Access need?
Restrict Anonymous Access requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Restrict Anonymous Access last updated?
The latest version, 1.3, was released on November 2, 2026 (2 weeks ago).
Who makes Restrict Anonymous Access?
Restrict Anonymous Access is developed and maintained by Christian Leuenberg.
What are the best alternatives to Restrict Anonymous Access?
The most popular alternatives to Restrict Anonymous Access are PublishPress Capabilities:… (90K+ installs), Content Control (40K+ installs) and Restrict User Access (10K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card



