I use qtranslate-x plugin for site translation. Works well, but on my custom term's page I see description in all languages.

enter image description here

I use this code to display term information:

$term = $wp_query->queried_object;
echo '<h1>'. $term->name . '</h1>';
echo '<p>' . $term->description . '</p>';
echo term_description( $term->term_id, $taxonomy );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.