Archived topic
How Can I Hide/Remove Metaboxes
4 replies · Started by Dhruv on August 2, 2016
How can I hide metaboxes from custom post type (notes) for all members (except admin).
Currently Pageheader and Disable elements are showing for authors in custom post type (notes).
How can I remove/hide them.
You can change the capability like this: https://generatepress.com/forums/topic/disable-elements-2/#post-206898
However, it's set to edit_theme_options, which authors shouldn't have access to in the first place.
Hi
I'm also kinda having a problem with this as the disable elements metabox is still visible to Editors even after changing capability to activate_plugins following this advice https://generatepress.com/forums/topic/disable-elements-2/#post-206898
Would appreciate some guidance. Thanks
Doesn't look like the Disable Elements meta box has the capability applied to it.
Just made that change for the next version :)
Excellent Tom, thanks !