3

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.

  • 3
    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
1

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

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.