FOTOS TIPOS
TIPOS DE FOTOS
// Register Custom Taxonomy function TAX_VAULT() { $labels = array( 'name' => _x( 'PHOTO TYPES', 'Taxonomy General Name', 'text_domain' ), 'singular_name' => _x( 'PHOTO TYPE', 'Taxonomy Singular Name', 'text_domain' ), 'menu_name' => __( 'VAULT TYPES', 'text_domain' ), 'all_items' => __( 'ALL VAULTS', 'text_domain' ), 'parent_item' => __( 'VAULT TYPE', 'text_domain' ), 'parent_item_colon' => __( 'VAULT TYPE.', 'text_domain' ), 'new_item_name' => __( 'NEW VAULT NAME', 'text_domain' ), 'add_new_item' => __( 'Add ADD NEW VAULT', 'text_domain' ), 'edit_item' => __( 'EDIT VAULT', 'text_domain' ), 'update_item' => __( 'UPDATE VAULT', 'text_domain' ), 'view_item' => __( 'VIEW VAULT', 'text_domain' ), 'separate_items_with_commas' => __( 'SEPARATE VAULTS WITH COMMAS', 'text_domain' ), 'add_or_remove_items' => __( 'ADD OR REMOVE VAULT', 'text_domain' ), 'choose_from_most_used' => __( 'CHOOSE FROM MOST USED', 'text_domain' ), 'popular_items' => __( 'POPULAR VAULTS', 'text_domain' ), 'search_items' => __( 'SEARCH VAULT', 'text_domain' ), 'not_found' => __( 'NOT FOUND', 'text_domain' ), 'no_terms' => __( 'NO VAULTS', 'text_domain' ), 'items_list' => __( 'VAULT LIST', 'text_domain' ), 'items_list_navigation' => __( 'VAULTS LIST NAVIGATION', 'text_domain' ), ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, ); register_taxonomy( 'VAULTYPE', array( 'FOTO' ), $args ); } add_action( 'init', 'TAX_VAULT', 0 );