Displaying taxonomy name in archive page broken with version 1.8
-
Hello!
I’m using this code to display the taxonomy name in a taxonomy archive page:
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); echo '<h6>' . $term->name . '</h6>';
This code produced the following result:
<h6>Taxonomy name</h6>
But after updating to version 1.8, instead of displaying the taxonomy name, it displays the name of the current language:
<h6>Language name</h6>
I haven’t changed anything else.
Could this be a bug?
And if not, does anyone know how to fix this?Thank you!!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Displaying taxonomy name in archive page broken with version 1.8’ is closed to new replies.