titles in recent posts appear together in all languages with qtranslate

I´ve been dealing with a qtranslate problem (Im using the twentyten theme) and i hope you cna help me, I´ve been searching on forums and sites but to no vail (their solution is for other them called atahualpa).

First of all the loading speed is too slow. The other problem is that I have a static page that for now uses the “Yet Another Related Posts Plugin” plugin because it is the only plugin I found that shows the recent posts list with a featured thumbnail (but I have the problem that it does not break lines for the expert texts) , and then in other pages I use the “NuRelm Get Posts” to get a list of recent post of a certain cathegory (like here http://eltemadehoy.net/?page_id=11 ).

Read More

My problem is that in this “NuRelm Get Posts” (besides being unable to use thumbnails) all the titles of the posts that are translated with qtranslate are shown continous VG “Porque al mundo le importa la independencia de Escocia.Why The World Cares About Scotland´s Independence.”

So the titles appear in both languages one after the other. I have some content that is translated and some that isn´t but might be in the future. for now I simply leave blank the other untranslated language title, content and excerpt of a post. But those are are translated invariably get a duplicated title.

Help please.

Related posts

Leave a Reply

1 comment

  1. Check the code that is used by NuRelm Get Posts, it’s very likely that it outputs the title using something like

    echo $post->post_title;
    

    To have the title translated by qTranslate,the plugin must use the standard function of WordPress, in this case the_title, that is applying the filters that qTranslate use to render the text multilanguage.

    Use:

    echo apply_filters('the_title',$post->post_title)

    instead.

    Remember: this must be DONE in the plugin. Contact the author or substitute it and send the patch to the authors.