[Support request] How Can I Hide/Remove Metaboxes

Home Forums Support [Support request] How Can I Hide/Remove Metaboxes

Home Forums Support How Can I Hide/Remove Metaboxes

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #214700
    Dhruv

    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.

    #214786
    Tom
    Lead Developer
    Lead Developer

    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.

    #285812
    Jamal

    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

    #285947
    Tom
    Lead Developer
    Lead Developer

    Doesn’t look like the Disable Elements meta box has the capability applied to it.

    Just made that change for the next version 🙂

    #285966
    Jamal

    Excellent Tom, thanks !

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.