I have been hunting this for days without success. I have many categories which users are free to post articles into, but there is one category I want to restrict to a specific role.

My Wordpress version is 5.3.2.

I am using "WPFront User Role Editor" for the roles. I have tried the plugin "Restrict Categories" but it doesn't work on my site. Shows no categories at all. I suspect another plugin is interfering with it because it works on another site. The "Restrict Roles" plugin is not supported anymore anyway.

Some code would be helpful, even if it were something on the new_post page to not display the category at all.

I hope that makes sense and apologies if I have not given enough information :)

Update 17 January 2020

Issue temporarily resolved after disabling plugin designed to hide categories on the home page. See my comment for more info.

  • I have resolved the issue. It turns out a plugin I have for hiding empty categories on the home page was interfering with the "Restrict Categories" plugin. Although the "Restrict Categories" is no longer supported or developed I will use it until I find a better solution. Not sure if I should delete the original question or leave it for reference purposes for others. Jan 17, 2020 at 1:25


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.