Welcome to 10For2 Web Development

An online presence is more than just a website; it’s the face of your company to the world. We specialize in developing that presence for small to medium size businesses.

Full Service Online Solutions

While our main focus is website design and development, we also specialize in marketing material, video production, and email and data hosting. Our goal is to become your one-stop shop for business identity solutions.

Login Panel

web development · content strategy · e-commerce wordpress · site maintenance · social media · seo

Blog Entry » August 17th, 2015

Remove Taxonomy Metaboxes from Post Type Sidebar

I’m a fan of clean WordPress dashboards for my client. Occasionally you will use a theme or plugin that adds custom post types and taxonomies to your site. However, there may be taxonomies you just don’t need. Here’s a way to hide them from the backend without modifying core files. Add this code to your functions.php file or a custom plugin.


* Remove Taxonomy Metaboxes from Post Type Sidebar
function tft_remove_taxonomy_metabox() {

    // use 'taxonomy-div', 'post-type' to target the proper taxonomy. 
    // 'side' is for sidebar location; 'normal' is for main location under wysiwyg
    remove_meta_box('testimonial_authordiv', 'testimonials', 'side'); 
    remove_meta_box('testimonial_categorydiv', 'testimonials', 'side'); 
    remove_meta_box('testimonial_imagediv', 'testimonials', 'side'); 

add_action( 'admin_menu', 'tft_remove_taxonomy_metabox', 20);

This entry was posted on August 17th, 2015 @ 9:00am and is filed under Blog, Code. You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

Leave a Reply