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 Menu Items from Dashboard

Occasionally you will use a theme or plugin that adds custom post types and taxonomies to your site. However, there may be taxonomies you don’t want to show up in the WordPress dashboard in an effort to keep things clean.. 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 Menu Items from Dashboard
function tft_remove_taxonomy_submenu_pages() {

     //make changes to taxonomy and post type as needed
    remove_submenu_page( 'edit.php?post_type=testimonials', 'edit-tags.php?taxonomy=testimonial_author&amp;post_type=testimonials' ); 
    remove_submenu_page( 'edit.php?post_type=testimonials', 'edit-tags.php?taxonomy=testimonial_category&amp;post_type=testimonials' ); 
    remove_submenu_page( 'edit.php?post_type=testimonials', 'edit-tags.php?taxonomy=testimonial_image&amp;post_type=testimonials' ); 

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

This entry was posted on August 17th, 2015 @ 9:30am 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