WordPress plugin – Restrict Post Taxonomies
I have had the need recently to allow users for a site to post. Other than assigning the appropriate role to grant people access to the admin pages I needed contributors to ONLY be able to post to specific categories. I found a plugin called ‘Restrict Author Posting (link)’ in the WordPress plugin directory but it didn’t really do what I wanted. Not only did it contain rather bad English that I would rather site users not see but it only allowed the locking of category access to a single term.
I based my own work on the Restrict Author Posting plugin although I have improved the features for my own purposes as follows:
- Prefixed plugin functions to avoid compatibility issues in the future
- Added multiple category functionality
- Added a master toggle for restricted access as previously once access had been restricted it could not be unrestricted
- Improved role access and visibility
Simply install the plugin and visit a user profile where you will see a checkbox list of categories to choose. No more settings are needed as I have tried to make the plugin as unobtrusive as possible.