Drink Garnishes
Lime wedges, celery sticks, etc…
if ( ! function_exists( 'garnish' ) ) { // Register Custom Taxonomy function garnish() { $labels = array( 'name' => _x( 'Garnishes', 'Taxonomy General Name', 'gustologist' ), 'singular_name' => _x( 'Garnish', 'Taxonomy Singular Name', 'gustologist' ), 'menu_name' => __( 'Garnish', 'gustologist' ), 'all_items' => __( 'All Garnishes', 'gustologist' ), 'parent_item' => __( 'Parent Garnish', 'gustologist' ), 'parent_item_colon' => __( 'Parent Garnish:', 'gustologist' ), 'new_item_name' => __( 'New Garnish', 'gustologist' ), 'add_new_item' => __( 'Add New Garnish', 'gustologist' ), 'edit_item' => __( 'Edit Garnish', 'gustologist' ), 'update_item' => __( 'Update Garnish', 'gustologist' ), 'view_item' => __( 'View Garnish', 'gustologist' ), 'separate_items_with_commas' => __( 'Separate garnishes with commas', 'gustologist' ), 'add_or_remove_items' => __( 'Add or remove garnishes', 'gustologist' ), 'choose_from_most_used' => __( 'Choose from the most used', 'gustologist' ), 'popular_items' => __( 'Popular Garnishes', 'gustologist' ), 'search_items' => __( 'Search Garnishes', 'gustologist' ), 'not_found' => __( 'Not Found', 'gustologist' ), ); $args = array( 'labels' => $labels, 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_admin_column' => false, 'show_in_nav_menus' => true, 'show_tagcloud' => true, ); register_taxonomy( 'garnish', array( 'drink-recipes' ), $args ); } // Hook into the 'init' action add_action( 'init', 'garnish', 0 ); }