Remove headings: posts and comments from Users control panel

Hi all,

I hope someone can help me :smiley:

When setting up the permissions for an Editor, the posts and comments headings still show on the customer panel. (Please see image). Is there a way of making these two headings invisible?

I feel it would make the side bar less cluttered and help the customer focus on what he needs to do; just update text on pages.

Thank you for reading :smiley:

Hi Tracy,

Thank you for reaching out to us. You probably can achieve this with custom development. Hereโ€™s a thread you can follow to disable certain sections for Editor role only: https://wordpress.stackexchange.com/questions/307504/how-do-i-hide-pages-media-comments-for-editor-role

You need to paste the code in your child themeโ€™s functions.php file.

Please note that the code provided in the above thread serves as a guide only and is to help you in getting started so implementing it and maintaining the code will be out of our support scope and for further maintenance for new possible versions of the theme that may cause the customization to break, you will need to hire a developer.

Thanks!

Thank you for replying :smiley:

Iโ€™d rather not use the code from the thread, but thanks for your support.

Hi Tracy,

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.