Yet Another Related Posts Plugin ( YARPP ) shows double results

Well nowadays their are lots of complaint about the well known plugin know YARPP or you can say Yet Another Related Posts Plugin that it is showing results twice on the same page

Well according to author of the plugin, it has been solved, as the latest YARPP plugin still shows twice results it is because of calling the function in a improper way for example :

<?php echo related_posts(); ?>

well the solution to problem is simple just remove the echo from above code so it will become :

<?php related_posts(); ?>

Well your YARPP plugin is fixed.

Don’t have YARPP plugin well you can download it from here

Subscribe to WPDEN


  • Matthias

    Thank you very much for sharing this. Just updated my blog and had the mentioned problem with YARPP – now solved in a moment. thanks to your help. Cheers – Matthias

    • Ritesh Sanap

      you are most welcome if you need anymore help, feel free to ask.

  • Damien

    Hi, I have this problem.

    Yet I really don’t know where I must change the code.

    I’ve searched into single.php (the template for posts) but didn’t find it.

    I’ve searched into the .php of the extension itself but there many of them and didn’t find anything.

    Thank you in advance for any clarifications.

    • Ritesh Sanap

      I have visited the website assigned with your comment, and their i do not see any problem regarding YARPP, if that is not site were you have problem, then please provide the correct URL the problem is Presisting

  • Damien

    Thank you very much Ritesh.

    I feel stupid… I forgot I was using YARPP Widget… that caused the YARPP to be displayed twice after each post.

    I deactivated it 10 mn ago.

    Thank you again!

    • Ritesh Sanap

      Ok, No Problem, if you have any other problems feel free to ask here