Wopisanje
Role Based Content Restrictor allows you to restrict access to individual posts, pages, and custom post types based on user roles.
You can:
* Allow specific roles per page/post.
* Set a custom redirect page per post.
* Configure a global fallback redirect from the plugin settings.
* Optionally display a message or notice on the redirect page.
Perfect for:
* Membership sites
* Learning Management Systems (LMS)
* Intranets and company portals
* Client dashboards or gated content areas
Lightweight, developer-friendly, and works with any theme or builder (Elementor, Gutenberg, etc.).
About the Author
Inzamam Abbasi – Professional WordPress Developer with over 10 years of experience, specializing in custom plugin development and scalable WordPress solutions.
I’ve successfully delivered 1,000+ projects, including membership systems, e-learning platforms, booking systems, and more.
Learn more at inzidev.com
Fota wobrazowki
Instalacija
- Upload the plugin folder to
/wp-content/plugins/role-based-content-restrictor/or install directly from the WordPress Plugin Directory. - Activate the plugin from Plugins > Installed Plugins.
- Go to Settings > Role Restrictions to configure the default redirect.
- Edit any page/post and use the Restrict Access meta box to choose roles and a redirect page.
HSP
-
Will it work with custom post types?
-
Yes! The plugin works with all public post types registered in WordPress.
-
Can I redirect users to an external URL?
-
Not yet. You can redirect them to a page where you handle the external redirect using a simple script or shortcode.
-
Does it support multiple roles per page/post?
-
Yes, you can select multiple roles for each piece of content.
-
What happens if no redirect page is set?
-
The plugin will use the global fallback page set in the plugin settings. If that’s not set, users are redirected to the homepage.
Pohódnoćenja
Sobuskutkowarjo a wuwiwarjo
„Role Based Content Restrictor“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.
SobuskutkowarjoPřełožće „Role Based Content Restrictor“ do swojeje rěče.
Na wuwiću zajimowany?
Přehladajće kod, hladajće do SVN-repozitorija abo abonujće wuwiwanski protokol přez RSS.
Protokol změnow
1.0.2
- Minor fixes for submission and compliance with WordPress.org guidelines.
1.0.1
- Improved compatibility with WordPress.org guidelines (removed
load_plugin_textdomain). - Updated text domain and folder structure to match slug.
- Minor code cleanups.
1.0.0
- Initial public release.


