Donate link: http://www.jamviet.com/2015/05/restrict-author-posting.html This plugin allow you to restrict the category that your site contributors
My plugin will help you to add restriction category to User profile, so the author or editor can post in just specific categories.
* New Update: If user is restricted to a category, the first one in the list will be chosen as a default for that user if he didn’t chose the category he wants to publish in ( thanks to ash for this bug ). AND delete Category no longer show an error in User's Profile !
* New Update: Include a new function to restrict author using media file ( image/video ), just a checkbox in User Profile, you can restrict Author using all media file or just his/her own file !
Just a small code, and run in Admin Screen so it'll never slow down your website !
If you have any question, or found a bug, please let me know ! Many thanks to Pete Stoves help me to debug and add multi-select function in plugin ! Enjoy !
Buy me a beer, Make a small donation
Add translate function !
Add and improve code !
Fixed bug in User's Profile can not generate Password
Add new Function: Restrict User using file in Media, now author can be restricted using his/her own file only in Media Page or in New Post screen.
Fixed error in saving data !
Fixed some error ! Add new function: More than one category can be selected ! Remove Warning in editor screen, the author or editor now doesn\'t know what happended ( 😛 )
Fixed some error !
Fixed small bug
Fixed English and something more !
- Fixed something missing.
- Add remove restrict user option in admin panel
First version release.
Just unzip plugin and move all of theme to plugins folder inside WordPress directory, then go to Admin > Plugins to active it, Done !
Choose a category for author
In editor there are only alowing categories !
User now can be restricted using own file in media