WordPress

WordPress pages backend customize

Often we don’t need certain modules in the backend display and have to click them away again etc.

There is a small snippet here to hide the certain modules, which you can insert into the functions.php:

add_action( 'admin_init', 'jado_remove_meta_box' );
function jado_remove_meta_box() {
  
  	//  hide pages meta-boxes
  
    remove_post_type_support( 'page', 'trackbacks' );
    remove_post_type_support( 'page', 'comments' );
    remove_post_type_support( 'page', 'excerpt' );
  
  
    // hide posts meta-boxes
  
    remove_post_type_support( 'post', 'trackbacks' );
    remove_post_type_support( 'post', 'comments' );
    remove_post_type_support( 'post', 'excerpt' );
}




//title
//editor
//author
//thumbnail
//excerpt
//trackbacks
//custom-fields
//comments
//revisions
//page-attributes
//post-formats

There, at the backend, the panels can be hidden like here: