Forum Replies Created

Viewing 1 replies (of 1 total)
  • I had the same issue with the “WP Category Post List” and QTranslate plugin and was able to fix it with a similar solution, thanks!!!

    Here’s the solution…..

    Find the following code in wp-category-post-list.php (you’ll find 2 lines the same):

    $post_output .= '<a href="' . get_permalink($post->ID) . '" target="' . ((false == $instance['open_in'])? '_blank' : '_self') . '">' . $post->post_title . '</a>';

    Right above that add:

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

    Do this for both entries to apply to normal posts and sticky posts.

Viewing 1 replies (of 1 total)