Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress get taxonomy of a post

//Get all terms (names) of a taxonomy of a post
$term_obj_list = get_the_terms( $post->ID, 'taxonomy_name' ); ?>
 
PREVIOUS NEXT
Tagged: #wordpress #taxonomy #post
ADD COMMENT
Topic
Name
3+9 =