Support » Plugins » Hacks » Related Posts by Category

  • Problem :
    If you using both the “related posts by category” and “qtranslate” plugin, it shows the related posts thumbnails and also shows the title of the post, but it shows all the titles from every language.

    Solution:

    Add the following coder after line 60:

    if (function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) {
    $post->post_title = esc_html(qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($post->post_title));
    }

    Save it.
    Done

  • The topic ‘Related Posts by Category’ is closed to new replies.