WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Related Posts
Related Post Criteria (7 posts)

  1. sullez23
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/

  2. xdaseinx
    Member
    Plugin Author

    Posted 1 year ago #

    Tags, Category, Title and it autotags the content.

  3. jureham
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    For example: this post has no content

    http://www.thatsmyfresh.com/movie-review-tarantinos-djano-unchained/

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

    Thanks Jure

  5. jureham
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    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
    Member
    Posted 1 year 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?

    THANKS

  7. Julian
    Member
    Posted 1 year ago #

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

    Regards!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.