WordPress.org

Ready to get started?Download WordPress

Forums

Contextual Related Posts
[resolved] related by custom field? (15 posts)

  1. 3x7
    Member
    Posted 1 year ago #

    Does it support related by "custom field"?

    if not you can take it as a suggestion :)

    Cheers!

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

  2. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    It doesn't. Any reason you want to use the custom field to find related posts?

  3. 3x7
    Member
    Posted 1 year ago #

    many possibilities:
    -brand
    -model
    -language
    etc...

    combination of 2 custom fields would be even better...

    cheers!

  4. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I'll put this on the list. But, no commitments on the deadline for this one.

  5. 3x7
    Member
    Posted 1 year ago #

    Great!

    take your time, I'll leave it installed :)

    Another suggestion that would be useful is that it if it could get related from a sister site in a multisite installation, since more and more people are using multisite/network of wp..

    Cheers!

  6. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I have multi-site support on the charts.

    I don't think the plugin works well with that yet. In fact I haven't even tested that since I don't have a platform set up for it.

    But, that would be a good idea indeed.

  7. 3x7
    Member
    Posted 1 year ago #

    maybe you could check
    http://wordpress.org/extend/plugins/external-related-links/

    It might help as a reference...

    I was even thinning about modifying some of the "RSS Widget" plugins (that can show posts from rss in a widget) and somehow get only related posts listed from rss... this way user could input the sister Rss in it...

    Hope it helps...

    Cheers!

  8. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the links. I'll study the code to see what that does. The RSS seems like a good idea. The only issue I see is load on the site.

  9. 3x7
    Member
    Posted 1 year ago #

    There is a way to get Rss of each category, so maybe to get it in category chunks would be easier to load... or to limit the rss size, but still it would have to find related...... this is where my knowledge drops :)

    I would be happy to do some research so you can save some time, just let me know.

    Cheers!

  10. 3x7
    Member
    Posted 1 year ago #

  11. 3x7
    Member
    Posted 1 year ago #

    Hi again,

    another great feature would be to use custom taxonomies to eliminate related posts that are related contextually but NOT related by "taxonomy"

    for example, I use custom taxonomy for "location", so showing related posts for different location is not welcome...

    in other words, showing only "contextual related" posts with the same "selected" taxonomy. That can be anything, just like we discussed earlier for custom fields.

    Cheers!

  12. 3x7
    Member
    Posted 1 year ago #

    not sure, but this might be helpful reference..
    http://wordpress.org/extend/plugins/better-related/installation/

    Cheers!

  13. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the additional links. I'll take a look at these to see how best to implement the same.

  14. 3x7
    Member
    Posted 1 year ago #

    Just found the easy solution that you might be interested for checking to implement to your plugin...
    This plugin gets related posts from different taxonomies, but they are not contextually related,with no images :(

    http://pippinsplugins.com/write-a-better-related-posts-plugin-for-custom-taxonomies/

    By default it looks for "3 sharing tags" OR "sharing same custom taxonomy".
    Changing 'relation' => 'OR' to 'relation' => 'AND' will probably give results for "if both taxonomies" are sharing in the posts.

    Changing the "tags" section to your contextual algorithm might be a bingo...

    hope it helps.

    Cheers!

  15. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    I've given this some more thought.

    I am not sure you can get a "contextual taxonomy" option.
    It's something that I will need to test if it can be done.

    It might most probably be something like checking if the content of the posts is related to:
    1. Title
    2. Content
    3. Tags

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.