Restrict Taxonomies Plugin
This plugin restrict the taxonomies terms that users can view, add, and edit in the admin panel.
Based on the Restrict Categories plugin, this plugin allows you to restrict the taxonomies terms that users or roles can use when they publish content. It also provide front end restriction for non logged users.
ToDo List
- Prevent the user from accessing the single view of a CPT that is in a disallowed taxonomy
Installation
- Upload the restrict-taxonomies folder to to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure the plugin in Settings > Restrict Taxonomies
- Choose the taxonomies AND the corresponding post types
- Activate (or don’t, as you wish) the front end rescrictions
Screenshots
The settings are located in Settings > Restrict Taxonomies
First choose the post types and the taxonomies to handle
Select the categories allowed for a role or a user (note that user options override role options)
Should the plugin restrict taxonomies in the front end ?
FAQ
Does this plugin also works for page taxonomies ?
Yes, the page post type will always be handled, therefore, it doesn’t appear in the post types and taxonomies settings
Installation Instructions
- Upload the restrict-taxonomies folder to to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure the plugin in Settings > Restrict Taxonomies
- Choose the taxonomies AND the corresponding post types
- Activate (or don’t, as you wish) the front end rescrictions
Changelog
1.3.3
- Fixed a bug introduced in 1.3.2 (Thanks to @r-a-y)
1.3.2
- Fixed a bug that occurred when saving settings on a nth user page
1.3.1
- Refactored the user tab in order to handle large amount of users
1.3.0
- Fixed warnings on the plugin activation thanks to Gavin
- Fixed bug when only a empty taxonomy is allowed
1.2.9
- Added support for the latest vession of Geodirectory
- Fixed a bug that occurs when multiples CPT and taxonomies are on a same page
- Code clean up
1.2.8
- Added Dokan Dashboard support
- Changed front hook to pre_get_posts instead of init
1.2.7
- Fixed warnings for frontend options
1.2.6
- Fixed warnings for frontend options
1.2.5
- Fixed warnings reported by @swinggraphics
1.2
- Added page taxonomies support
1.1
- Added front end restrictions and settings
1.0