Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.