Wordpress Multilanguage

Adjust MicroKid’s Related Posts 4 for qTranslate-driven WordPress-Blogs

If your multi-language WordPress-Blog is qTranslate-driven, some plugins need adjustments. So MicroKid’s Related Posts.

webwork.onblog.at (German) describes how to do this with MicroKid’s Related Posts versions 2 and 3. In MicroKid’s Related Posts version 4 you have to alter the code at a different position and in a slightly different code context.

Go to line 658 in the file microkids-related-posts.php in directory wp-content/plugins/microkids-related-posts/:

$output .= "ID )."">". $related_post->post_title."";

and replace the line with:

$output .= "ID )."">". get_the_title( $related_post->ID )."";

That is all to force MicroKid’s Related Posts 4 showing the correct language in the related posts titles.

Related Links

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *