• Hi there,

    I just integrated YARPP into my blog theme, using and I’m using WPML as well. The problem is that in the translated language (ms), the Related posts list contain repeated links to similar posts.

    See it here: https://www.khairul-syahir.com/ms/topics/fotografi/2010/trip-cuti-easter-2010-diperbaik.html
    The related posts area is right under the social sharing buttons.

    The strange thing is that it works fine if viewed in English, i.e. no repeated entries.

    This is the code that I used in the theme loop.php file:

    if (function_exists('related_posts')) {
    	related_posts();
    } else {
    	echo '<p>';
    	_e('Install the Yet Another Related Posts Plugin (YARPP) to display the related posts list.','ksv3');
    	echo '</p>';
    } ?>

    (Oh and yes the code is in the Loop)

    Thanks.

Viewing 1 replies (of 1 total)
  • YARPP is not yet WPML-aware, so if you have translated posts it’s possible that each of their translations show up individually. In this case, though, WPML’s link-changing script made it so that they both end up being the localized ms version, so it looks like there are two.

    I’ve thought about adding WPML-awareness in the future, but haven’t gotten there yet. Sorry about that.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] YARPP and WMPL: Repeated posts’ is closed to new replies.