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.
qTranslate has an option to hide content which is not available in the specified language. Check the plugin options for “Hide Untranslated Content.”