Hide Metaboxes in WordPress Posts

WordPress has a feature called “metaboxes”. This is a strange name, but you have seen them often if you use WordPress.

When a user edits a post, the edit screen has several default boxes: Status & visibility, Featured image, Categories, Tags, etc. These boxes are metaboxes. Plugins can add also add their own metaboxes.

The Pro version of the PublishPress Capabilities plugin allows you to hide metaboxes for specific user roles.

In the image below, you can see two metaboxes:

  • “Yoast SEO” from the Yoast SEO plugin.
  • “Editorial Comments” from the PublishPress plugin.
Metaboxes
Metaboxes

To hide these metaboxes, follow these steps:

  • Go to “PublishPress”, then “Editor Features” in your WordPress admin menu.
  • Choose the user role you want to hide the metaboxes for:
Hide Metaboxes Roles
Hide Metaboxes Roles
  • Scroll down to the bottom and find the “Metaboxes” area. If you don't see all your metaboxes, go to edit a post and then reload this “Editor Features” screen.
Metaboxes
Metaboxes
  • Place a red X for any metabox you want to hide. In the image below, we are hiding both the “Yoast SEO” and “Editorial Comments” metaboxes.
Hide Metaboxes WordPress
Hide Metaboxes WordPress
  • Click “Save Changes”.
  • Visit the post editing screen as a user in the role you selected. You will no longer see the metaboxes you selected.