WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Strange behaviour output related posts (3 posts)

  1. jawes
    Member
    Posted 1 year ago #

    Hi,

    I set the plugin to show the related posts which have at least one category and one tag in common. When I created the posts (let's say 5 posts) within one category and one simular tag, I check if every post has the same related posts (4). After clicking one of the post in the related list I get a post which shows only 1 related post. When I re-save this post I see all the related posts (4) of this category.

    So I must re-save every post to get the correct output.

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    This, unfortunately, is a side effect of the way caching works in YARPP. When that post with only 1 related post was saved, only one related post exists, and it saved that result.

    YARPP's caching system is relatively aggressive, but this has been important to make YARPP less computationally intensive on many sites.

    If you want to every clear the cache to force recomputation with new candidate posts, you can use the YARPP Experiments plugin to flush the cache.

  3. jawes
    Member
    Posted 1 year ago #

    Hi Michael,

    Thanks for your feedback on this.
    I will try the plugin you mentioned.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic