//* Create custom taxonomies add_action( 'init', 'minimum_type_taxonomy' ); function minimum_type_taxonomy() { register_taxonomy( 'cuisine-type', 'portfolio', array( 'labels' => array( 'name' => _x( 'Cuisine Type', 'taxonomy general name', 'minimum' ), 'add_new_item' => __( 'Add New Cuisine Type', 'minimum' ), 'new_item_name' => __( 'New Cuisine Type', 'minimum' ), ), 'exclude_from_search' => true, 'has_archive' => true, 'hierarchical' => true, 'rewrite' => array( 'slug' => 'cuisine-type', 'with_front' => false ), 'show_ui' => true, 'show_tagcloud' => false, ) ); register_taxonomy( 'dish-type', 'portfolio', array( 'labels' => array( 'name' => _x( 'Dish Type', 'taxonomy general name', 'minimum' ), 'add_new_item' => __( 'Add New Dish Type', 'minimum' ), 'new_item_name' => __( 'New Dish Type', 'minimum' ), ), 'exclude_from_search' => true, 'has_archive' => true, 'hierarchical' => true, 'rewrite' => array( 'slug' => 'dish-type', 'with_front' => false ), 'show_ui' => true, 'show_tagcloud' => false, ) ); register_taxonomy( 'healthy-recipes', 'portfolio', array( 'labels' => array( 'name' => _x( 'Healthy Recipes', 'taxonomy general name', 'minimum' ), 'add_new_item' => __( 'Add New Healthy Recipe', 'minimum' ), 'new_item_name' => __( 'New Healthy Recipe', 'minimum' ), ), 'exclude_from_search' => true, 'has_archive' => true, 'hierarchical' => true, 'rewrite' => array( 'slug' => 'healthy-recipes', 'with_front' => false ), 'show_ui' => true, 'show_tagcloud' => false, ) ); }