titles in recent posts appear together in all languages with qtranslate

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.

Leave a Comment