WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Category Posts Widget] Category Posts does not Support Bilingual Sites

[Plugin: Category Posts Widget] Category Posts does not Support Bilingual Sites

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello bluebird2,
    Open the cat-posts.php in the plugin directory.
    search following code line: (line 40)

    // Get array of post info.
    $cat_posts = get_posts('numberposts='.$num.'&category='.$cat_id);

    insert after codeline 40 following code: if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $cat_posts = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($cat_posts);

    greetz
    real_sanchez

    wow. Great! Many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Category Posts Widget] Category Posts does not Support Bilingual Sites’ is closed to new replies.