Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Minimum number of posts (3 posts)

  1. jeremyschultz
    Posted 3 years ago #

    Just curious if there's a way to set the number of posts returned by YARPP. I have a page where I want to display six related posts, but I get five even if I have the maximum set to 6 or 10. There's not a lot of content on the site at the moment and I suspect YARPP isn't finding enough relevant content, but I'm not sure.


  2. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 3 years ago #

    No, there is no way to set a number that will *always* be displayed, due to the way that YARPP works. The philosophy is that, if your site actually doesn't have anything related, don't artificially show anything as related.

    For example: you always write about food, and then once talk about your elevators. That elevator post shouldn't have anything show up as related, unless they really are. That's the idea.

    In general if you think YARPP is ignoring things which *are* actually relevant, though, try lowering the match threshold to make the algorithm more lenient:

    In the YARPP options page, if you don't see a "Relatedness" section, go to "screen options" in the top corner to show the Relatedness section. Then lower the "match threshold" (default 5, maybe to 2?) and save. Then see if the recomputed results look better to you.

  3. jeremyschultz
    Posted 3 years ago #

    Thanks, the relateness section was indeed hidden and a threshold of 2 does fill out my six slots. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.