Taxonomía Clientes
Este snippet crea la taxonomía Clientes
if ( ! function_exists( 'taxonomia_clientes' ) ) { // Register Custom Taxonomy function taxonomia_clientes() { $labels = array( 'name' => _x( 'clientes', 'Taxonomy General Name', 'taxonomia_clientes' ), 'singular_name' => _x( 'cliente', 'Taxonomy Singular Name', 'taxonomia_clientes' ), 'menu_name' => __( 'Clientes', 'taxonomia_clientes' ), 'all_items' => __( 'todos los clientes', 'taxonomia_clientes' ), 'parent_item' => __( 'Cliente padre', 'taxonomia_clientes' ), 'parent_item_colon' => __( 'Parent Item:', 'taxonomia_clientes' ), 'new_item_name' => __( 'New Item Name', 'taxonomia_clientes' ), 'add_new_item' => __( 'Add New Item', 'taxonomia_clientes' ), 'edit_item' => __( 'Edit Item', 'taxonomia_clientes' ), 'update_item' => __( 'Update Item', 'taxonomia_clientes' ), 'view_item' => __( 'View Item', 'taxonomia_clientes' ), 'separate_items_with_commas' => __( 'Separate items with commas', 'taxonomia_clientes' ), 'add_or_remove_items' => __( 'Add or remove items', 'taxonomia_clientes' ), 'choose_from_most_used' => __( 'Choose from the most used', 'taxonomia_clientes' ), 'popular_items' => __( 'Popular Items', 'taxonomia_clientes' ), 'search_items' => __( 'Search Items', 'taxonomia_clientes' ), 'not_found' => __( 'Not Found', 'taxonomia_clientes' ), 'no_terms' => __( 'No items', 'taxonomia_clientes' ), 'items_list' => __( 'Items list', 'taxonomia_clientes' ), 'items_list_navigation' => __( 'Items list navigation', 'taxonomia_clientes' ), ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => false, ); register_taxonomy( 'clientes', array( 'lujan_negocios' ), $args ); } add_action( 'init', 'taxonomia_clientes', 0 ); }