The WordPress post page (where you write your posts) can get a little crowded for some people’s taste.
For example, take a look at this screenshot of the section below the write/edit screen. It’s jam-packed with different types of meta boxes.
Of course, if you want to remove a lot of that messiness, you can pull down the Screen Options panel at the top of the page and uncheck whatever you like.
While that works, you might have a situation where you want all of those meta boxes removed automatically. Maybe you’re dealing with clients or site users who don’t need to learn yet another little something they have to do. Or maybe you don’t want those boxes available to them regardless.
While there are a number of plugins that will do this for you, in this post, we’re going to show you how you can do that by placing some code in your functions.php file.
Code for Removing Meta Boxes
The code below has comments in it, so you can add or remove whatever you like. For example, if you’d like to keep the excerpts meta box, then you should be able to easily identify the line that applies to excerpts and take that line out.
Place the following code in your functions file (Appearance > Editor > Theme Functions – functions.php).
Placing that code should remove all the meta boxes below the post editor and give you a nice, clean look. The yellow outline is where all the meta boxes used to be.
Of course, those boxes under the post editor aren’t the only meta boxes on that screen. There are
Keep reading this article on wpmudev.org