Qtranslate displays empty categories with get_categories()

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.

Read More

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

Related posts

Leave a Reply

1 comment

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