How to hide WordPress metaboxes and widgets

Metaboxes and widgets can be found on both frontend and backend side of your WordPress website and sometimes there is a need to filter them out for specific roles or individual users.

For example you might want to hide Categories and Tags metaboxes for your Contributors and allow only Editors to manage them. With AAM plugin you can hide any registered metabox or widget on the Metaboxes & Widgets tab by simply selecting those metaboxes.

The list of metaboxes and widgets should be initialized or refreshed manually. During this process, AAM will send remote HTTP request to each page on your website that may contain metaboxes or widgets and index them.

Some metaboxes are conditional and appear on the Edit screen when certain conditions are met. For example metabox “Comments” metabox appears only for existing page and not for new page. If you do not see a desired metabox, try to copy & paste the full URL to the backend page where that metabox appears.

In order for this feature to work, your website should have the ability to send remote requests. AAM uses WordPress core functionality to handle this procedure.

It is very typical to have HTTP Authentication setup on the development or staging websites. If so, then you would have to explicitly specify what user and password AAM should be using to send requests. To do so, install free ConfigPress extension and enter your user and pass as shown below.

Get Development Package with all extensions included for unlimited number of sites

Learn More

Get the latest updates and promos.