Resonanz Page & Post Access Restriction
v1.3.0Resonanz Digital · 2024年10月3日 上架
This plugin allows you to limit the access to specific pages and posts to certain user roles only.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 2,978
- 最近更新
- 2026年11月2日
需要 WordPress 6.0+已测试到 7.1.5PHP 8.0+
贡献者
This plugin allows you to limit the access to specific pages and posts to certain user roles only.
Features
- Toggle protection on or off using a checkbox in the meta box next to the page or post editor.
- When toggled on, specify which user roles should have access to the page.
- When toggled on, you can specify to which page users should be redirected if they do not have the necessary permissions.
- The dropdown list with possible redirect pages does not include the current page or any other protected pages.
- When no redirect page is selected, users without access will receive a 404 error.
Notes
- Users can never unselect their own user role when setting permissions.
- Some default WordPress pages cannot have their permissions changed by this plugin, such as the default Privacy Policy Page.
- The homepage must always be accessible to everyone.
- Administrators are always allowed access to any page.
- Protected pages and posts are also hidden from archives, search results, feeds, sitemaps, widgets, previous and next links, oEmbeds and the REST API for users without access.
- Subpages are not protected automatically. Enable protection on each subpage that needs it.
- Files attached to a protected page stay publicly reachable. Use a separate plugin to protect files.
Developed and maintained by Resonanz Digital, a web agency in Vienna building WordPress sites and custom web applications.
License
This plugin is licensed under the GPLv2. For more information, check out the license.