WordPress Related Posts
Related Post Criteria (7 posts)

  1. sullez23
    Posted 3 years ago #

    How does this plugin decide which criteria to select related post on.

    I have a post that is the only type in it's category - a random title without any content and it is showing 5 related post that have nothing to do with the content. I was just curious.


  2. xdaseinx
    Plugin Author

    Posted 3 years ago #

    Tags, Category, Title and it autotags the content.

  3. jureham
    Plugin Author

    Posted 3 years ago #

    It takes the plugin a bit of time to generate related posts because it processes title, content and categories only when you visit the post for the first time.

    So if you have two posts with similar content, try to visit both of them and then check if we correctly link them.

    This is done for performance reasons and shouldn't be a big issue since your readers will sooner or later visit each of your posts.

    Hope this helps. Best, Jure

  4. sullez23
    Posted 3 years ago #

    For example: this post has no content


    it has 5 related post - How could those post be related to a post with no content?

    Thanks Jure

  5. jureham
    Plugin Author

    Posted 3 years ago #


    in your case it's probably matching the category or words in the title.
    But even if it wouldn't, it falls back to using random posts.

    If you want to modify this behaviour check file wp_related_posts.php lines 87-89(wp_rp_fetch_related_posts_v2 is matching tags, categories, title and content and it behaves the way I described it in the previous post, wp_rp_fetch_related_posts is using only tags and wp_rp_fetch_random_posts returns random posts).

    But you have to keep in mind that your changes will be overwritten on every plugin update.

    Best, Jure

  6. sullez23
    Posted 3 years ago #

    Hi Jure,

    On IE 8

    I am not seeing any related post on any of my post.

    I see the title "related post"

    but I don't see any post -

    I see them in safari and on my android devices but not on IE.

    Any clue as to why?


  7. Julian
    Posted 3 years ago #

    is it planned to switch between these criterias? I would like to set it to tags and content.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.