Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Taxonomias

if ( ! function_exists( 'wordpress_taxonomy' ) ) {

// Register Custom Taxonomy
function wordpress_taxonomy() {

	$labels = array(
		'name'                       => _x( 'Wordpress', 'Taxonomy General Name', 'wordpress_domain' ),
		'singular_name'              => _x( 'Wordpress', 'Taxonomy Singular Name', 'wordpress_domain' ),
		'menu_name'                  => __( 'Seguridad en Wordpress', 'wordpress_domain' ),
		'all_items'                  => __( 'Todos las Entradas', 'wordpress_domain' ),
		'parent_item'                => __( 'Articulos principales', 'wordpress_domain' ),
		'parent_item_colon'          => __( 'Articulos principales:', 'wordpress_domain' ),
		'new_item_name'              => __( 'Nombre de nuevo articulo', 'wordpress_domain' ),
		'add_new_item'               => __( 'Añadir nuevo articulo', 'wordpress_domain' ),
		'edit_item'                  => __( 'Editar elemento', 'wordpress_domain' ),
		'update_item'                => __( 'Actualizar', 'wordpress_domain' ),
		'view_item'                  => __( 'Ver', 'wordpress_domain' ),
		'separate_items_with_commas' => __( 'Los productos separados con comas', 'wordpress_domain' ),
		'add_or_remove_items'        => __( 'Añadir nuevo', 'wordpress_domain' ),
		'choose_from_most_used'      => __( 'Los más usados', 'wordpress_domain' ),
		'popular_items'              => __( 'Articulos más famosos', 'wordpress_domain' ),
		'search_items'               => __( 'Busca artículo', 'wordpress_domain' ),
		'not_found'                  => __( 'No encontrado', 'wordpress_domain' ),
		'no_terms'                   => __( 'No hay articulos', 'wordpress_domain' ),
		'items_list'                 => __( 'Lista', 'wordpress_domain' ),
		'items_list_navigation'      => __( 'lista de elementos de navegación', 'wordpress_domain' ),
	);
	$rewrite = array(
		'slug'                       => 'wordpress',
		'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,
		'rewrite'                    => $rewrite,
	);
	register_taxonomy( 'Wordpress', array( 'seguridad-post-type' ), $args );

}
add_action( 'init', 'wordpress_taxonomy', 0 );

}