Sección taxonomy

WordPress: Agregar una Taxonomía Manualmente

Escrito por el 13/05/2014
Categorías :   Wordpress, Backoffice
Etiquetas :   admin, taxonomy, wordpress
Ejemplo de adición manual de una taxonomía (sin pasar por la configuración).Para colocar en el archivo functions.php: /** * Manual add new Field to taxonomy or you can use plugin "taxonomy manager" * * BEGIN */ // A callback function to add a custom field to our "expertise" taxonomy function expertise_taxonomy_custom_fields($tag) { // Check for existing taxonomy meta for the term you're editing $t_id = $tag->term_id; // Get the ID of the term you're editing $term_meta = get_option("t...