Parliamo del progetto

Argomento

taxonomy

1 articolo

WordPress: Aggiungere una tassonomia manualmente

Esempio di’aggiunta manuale di’una tassonomia (senza passare dalla configurazione).Da mettere nel file 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...