Create multiple taxonomies with custom fields values on the fly when creating new posts
This is the code I use to insert a list of taxonomy terms in a dedicated plugin category. On can also directly add the terms to the main post category. // ************** Add taxonomy $taxonomy_term = “my_term”; $taxonomy_category = “my_taxonomy_category”; if (null !==(get_the_ID())) { if ( taxonomy_exists( $taxonomy_category ) ){ // if the tag doesn’t … Read more