Black Friday Sale! Get up to $40 off GP Premium!Learn more

Permit Only Admin View of Sidebar Layout and Footer Widget Metaboxes

Home Forums Support Permit Only Admin View of Sidebar Layout and Footer Widget Metaboxes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40465
    Manny

    If I may be so bold as to request the implementation of only permitting admins to view the ‘Sidebar Layout’ and ‘Footer Widget’ metaboxes within the WP backend.

    I believe one way to do this would be to update ‘inc/metaboxes.php’ with the following:

    AT VERY TOP:
    if( current_user_can('administrator') ) {

    AT VERY BOTTOM:
    }

    Thank you!

    #40498
    Tom
    Lead Developer
    Lead Developer

    I’ve made it so the next version will only show these metaboxes for admins.

    For those of you who want to change that, I added a filter so you can change the required capability.

    Thanks!

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