Tags taxonomy
A similar taxonomy like default tags for posts.
// Register Custom Taxonomy function typical_non_hierarchical_tax() { $labels = array( 'name' => _x( 'Tags', 'Taxonomy General Name', 'otzo' ), 'singular_name' => _x( 'Tag', 'Taxonomy Singular Name', 'otzo' ), 'menu_name' => __( 'Tags', 'otzo' ), 'all_items' => __( 'All Tags', 'otzo' ), 'parent_item' => __( 'Parent Tag', 'otzo' ), 'parent_item_colon' => __( 'Parent Tag:', 'otzo' ), 'new_item_name' => __( 'New Tag name', 'otzo' ), 'add_new_item' => __( 'Add New Tag', 'otzo' ), 'edit_item' => __( 'Edit Tag', 'otzo' ), 'update_item' => __( 'Update Tag', 'otzo' ), 'view_item' => __( 'View Tag', 'otzo' ), 'separate_items_with_commas' => __( 'Separate tags with commas', 'otzo' ), 'add_or_remove_items' => __( 'Add or remove tags', 'otzo' ), 'choose_from_most_used' => __( 'Choose from the most used', 'otzo' ), 'popular_items' => __( 'Popular Tags', 'otzo' ), 'search_items' => __( 'Search Tags', 'otzo' ), 'not_found' => __( 'Not Found', 'otzo' ), ); $rewrite = array( 'slug' => 'medias-tags', 'with_front' => true, 'hierarchical' => false, ); $args = array( 'labels' => $labels, 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, 'query_var' => 'medias-tags', 'rewrite' => $rewrite, ); register_taxonomy( 'otzo-tags', array( 'medias', ' albums' ), $args ); } // Hook into the 'init' action add_action( 'init', 'typical_non_hierarchical_tax', 0 );