WordPress.org

Ready to get started?Download WordPress

Forums

Contextual Related Posts
Only Unrelated posts showing (4 posts)

  1. grios
    Member
    Posted 1 year ago #

    Hello, I have set up a portuguese blog site and imported listings into a custom post type. Right now I got everything to work as I wanted except that the listings in the sidebar widget do not relate to the posts at all, either by title or by content at all. Any help?

    Example of problem here: http://temporadaplus.com/blog/index.php/sergipe/temporada-em-sergipe-com-mercedes/

    Also, how come reloading or even re-publishing a post keep the same list of "related" items? Thank you!

    http://wordpress.org/extend/plugins/contextual-related-posts/

  2. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    grios,

    I don't speak Portuguese, but to explain how it works, the plugin uses mySQL's inbuilt matching. But, what is important to understand that the title tends to be a key deciding factor in the matching, this is because there is limited amount of text in the title.

    I noticed that all the "related articles" have the word temporada same as your post above.

  3. grios
    Member
    Posted 1 year ago #

    Thank you for the info. I understand that the title is heavily weighted, but given this and the fact that the site is focused on listings, could you recommend to me some method or code alteration that would allow it to pull properly related posts? What I mean is that is the post title mentions a city, then listings with that city in the title should be pulled rather than those that don't have this title. ANy ideas would be tremendously appreciated :)

  4. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    Unfortunately there isn't any easy way to tune this because mySQL can't differentiate between the same.

    I'm going to add some tuning options in a future version similar to what I have done for my plugin Better Search.

    However, this also has limited control over results.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic