GDPR has transformed the way personal data is handled. Adapting to it has been costly, but in a little-known niche of the knowledge economy, entrepreneurs are celebrating. Expert networks have become…
You can use code or plugin as follows.
For example, in the post editor section, there is a default meta box named Custom Fields.
I will add the below code in the function.php
file to remove this meta box:
Then, it is no longer there:
Another example, there are many different meta boxes to display general website information or shortcuts in the Admin Dashboard:
I will try removing them with the below code:
Then, the Dashboard becomes tidier.
There are many plugins for removing meta boxes. I’ve tried some of them and find Adminimize to be a good choice.
[wp-pic type=”plugin” slug=”adminimize” layout=”large” ]
After installing the plugin, go to Settings > Adminimize. In this section, you will see that it provides many features, not only removing meta boxes.
Go to Write options — Post to deactivate the meta boxes from the post editor in Post. If you want to remove the meta box in other post types, choose Write options — [post type].
As you can see, this plugin allows you only to deactivate meta boxes, not completely delete them as using code. But the special feature of this plugin is that you can deactivate each type of meta boxes for different user rolls. Thus, you can restrict users to view meta boxes to prevent them from changing information.
If you want to remove meta boxes completely so that no one can find them, using code is the better choice. If you want to authorize each user role to view just some kinds of them, using a plugin is perfect. Both of them are simple and quick.
One more thing, using plugin Adminimize also helps you customize the appearance of others in the admin bar, backend options, plugin settings,… You should dig in it to take more advantages from it.
If you have other ideas, please share with us in the below comment box.
— — —
What happens after a clinical trial wraps up? Trials in the United States are, by law, required to submit their FDA-approved medical research results to the database ClinicalTrials.gov. The database…
In these past few years of social media’s exponential growth, I have observed that somehow, many (if not the majority of) people seems perceiving fame with success, in both material and personal…
Want a natural way to manage your low back pain? Your diet could help! Certain foods can make your back pain worse and some can help. Read more here.