Forums Forums Search & Filter Pro Sort Results by star rating

  • This topic has 36 replies, 2 voices, and was last updated 8 years ago by Anonymous.
Viewing 10 posts - 1 through 10 (of 37 total)
  • Anonymous
    #70293

    Hello,

    I have the ratings plugin installed on my site and would like to be able to sort the results page of my search and filter search to be able to sort the posts by star rating. Is this possible?

    Thanks in advance.

    Alex

    Trevor
    #70344

    It depends whether the star ratings are stored in a meta key attached to the posts table in the database. If they are, add a Post Meta to the form UI and browse the meta keys to see if you can find it, change it to enter data manually and then browse the values available, which will confirm to you if you have the correct meta key.

    Anonymous
    #70386

    Thats fantastic, thank you!

    May need to start a new thread but any idea how I can amend the results page to display the star rating under the title as in your demo video? Is changing the look of the results page more of a theme change? My results page doesn’t look the same as a normal posts page on my website so I’m not sure where the results shortcode gets its theme defaults from.

    Thanks,

    Alex

    Trevor
    #70390

    It depends on what display results method you are using. If you have a page on your site that already shows the ratings, how do you get them on to the page? Does it use a theme template and you edited that to add the shortcode?

    Anonymous
    #70392

    That’s a very good point Trevor, I haven’t managed to get the star ratings to show in the post preview. I am not very good at this! It is in the post when you open it but not in the preview where it needs to be so that someone then clicks on it.

    Cheers,

    Alex

    Trevor
    #70394

    Ah

    What theme are you using, and what display results method?

    Anonymous
    #70410

    I am using enfold theme, wp-postratings for the star rating and the shortcode method of displaying the results. Thanks for your patience!

    Alex

    Trevor
    #70412
    This reply has been marked as private.
    Anonymous
    #70414
    This reply has been marked as private.
    Trevor
    #70416
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 37 total)