Simple get_term_by question
-
Hey,
I’m using
<?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );?>
to get my taxonomy, but I’m having issues displaying
$term_name
within php tags. Can someone help?Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Simple get_term_by question’ is closed to new replies.