destinos premiumtt
taxonomia destinos
// Register Custom Taxonomy function custom_taxonomy_destinos() { $labels = array( 'name' => _x( 'Destinos', 'Taxonomy General Name', 'text_domain' ), 'singular_name' => _x( 'Destino', 'Taxonomy Singular Name', 'text_domain' ), 'menu_name' => __( 'Destinos', 'text_domain' ), 'all_items' => __( 'Todos los destinos', 'text_domain' ), 'parent_item' => __( 'Destino superior', 'text_domain' ), 'parent_item_colon' => __( 'Destino superior', 'text_domain' ), 'new_item_name' => __( 'Nuevo destino', 'text_domain' ), 'add_new_item' => __( 'Agregar destino', 'text_domain' ), 'edit_item' => __( 'Editar destino', 'text_domain' ), 'update_item' => __( 'Actualizar destino', 'text_domain' ), 'view_item' => __( 'Ver destino', 'text_domain' ), 'separate_items_with_commas' => __( 'Separar items con comas', 'text_domain' ), 'add_or_remove_items' => __( 'Agregar o eliminar destinos', 'text_domain' ), 'choose_from_most_used' => __( 'Elegir el más usado', 'text_domain' ), 'popular_items' => __( 'Popular destino', 'text_domain' ), 'search_items' => __( 'Buscar destino', 'text_domain' ), 'not_found' => __( 'Not Found', 'text_domain' ), ); $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' => 'destinos', ); register_taxonomy( 'destinos', array( 'lugares' ), $args ); } // Hook into the 'init' action add_action( 'init', 'custom_taxonomy_destinos', 0 );