Support » Plugin: Related Posts by Category » Related posts showing all titles from qtranslate : Reloaded

  • 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

    http://wordpress.org/extend/plugins/related-posts-by-category/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Related posts showing all titles from qtranslate : Reloaded’ is closed to new replies.