• Resolved hyltondesign

    (@hyltondesign)


    Hello,

    I am working on a site that requires the use to rank posts that are linked to external sites. I have added the star ranking but need to be able to sort through the posts based on the rankings.

    I am currently using another plugin (Search & Filter) that filters and sorts based on other parameter. I want to include the YASR ratings into their plugin to sort by.

    When talking with the dev team from Search & Filter, they said it is possible depending on how the ratings are being stored. (email included).

    It rather depends on how that plugin produces those ratings. You would need to check if the plugin you use stores the average rating for a post in a single custom field (and not calculate the average rating dynamically). If it does store the average rating in a custom field in the WordPress post meta table, then you should be able to sort by meta key. However, if some posts have no score at all (as opposed to a default -stored- rating of 0), then those posts would be missing from the results completely (when you sort in SQL, and record that is missing a value for the sort key is not returned in the results.

    Email from Search & Filter Plugin

    I plan to purchase the pro version of YASR but need to know if this is possible first.

    Questions summed up:
    Can YASR work with Search & Filter plug in?
    Does the PRO version allow you access to the meta tags that store the voting data?

    • This topic was modified 1 year, 2 months ago by hyltondesign.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author PARETO Digital

    (@paretodigital)

    Hi,

    I’m afraid that neither of both is possible. YASR stores the ratings in its own database table and is not using meta fields. We also do not provide compatibility with the plugin you mentioned.

    Thread Starter hyltondesign

    (@hyltondesign)

    Thank you for getting back to me so soon. I am looking for a plugin that allows the user to filter or sort based on star rating. Where all 5 stars are visible and the user can filter through which rating they want to sort by.

    From what I can tell, Yasr shows a list of the ranked (depending on your preference).

    Thank you!

    Plugin Author PARETO Digital

    (@paretodigital)

    I’m not sure if I understand you correctly. Please take a look at https://yetanotherstarsrating.com/yasr-shortcodes/

    There, you can find all kinds of output scenarios, as well as some demos. Maybe this will increase your understanding of what the plugin does.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SORT Rankings compatible with another plugin’ is closed to new replies.