WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using qtranslate (Wordpress Plugin) on a website and I don't want to display categories that don't contain posts for a language.

So when I do get_categories() (without qtranslate) the categories that have no posts are hidden. But when they have posts in one language and not the other they are displayed in both languages.

I know this is a plugin related. Any ideas/solutions much appreciated.

share|improve this question
Have you reported the problem back to the original author? – hakre Feb 4 '11 at 12:29
@marvinhagemeister please move your comment to an answer – Rarst Oct 22 '11 at 16:03

qTranslate has an option to hide content which is not available in the specified language. Check the plugin options for "Hide Untranslated Content."

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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