Skip Navigation

[Resolved] I want to add the ability to filter/Search for a listing based on “site-reviews” rating plugin to my search filter how can I achieve that.

This thread is resolved. Here is a description of the problem and solution.

Problem:

I have used this plugin(https://wordpress.org/plugins/site-reviews/) , But I want to add the ability to filter/Search for a listing based on its rating to my search filter how can I achieve that.

Solution:

The "Site Reviews" plugin is using a hidden custom field "_glsr_average" to store the average ratting value, you can use it in Views UI, like this:

Dashboard-> Toolset-> Settings -> Front-end Content

in section "Hidden custom fields", click button "Select custom fields", find and enable option "_glsr_average", then you will be able to filter/Search listing posts based on "_glsr_average" field.

Relevant Documentation:

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by ademolaA-2 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1102060

Hello,

I have used this plugin(https://wordpress.org/plugins/site-reviews/) as suggested which resolved the issues. But I want to add the ability to filter/Search for a listing based on its rating to my search filter how can I achieve that.

Thanks

#1102268

Hello,

The "Site Reviews" plugin is using a hidden custom field "_glsr_average" to store the average ratting value, you can use it in Views UI, like this:
Dashboard-> Toolset-> Settings -> Front-end Content
in section "Hidden custom fields", click button "Select custom fields", find and enable option "_glsr_average", then you will be able to filter/Search listing posts based on "_glsr_average" field.

#1102323

Hello,

I have gone through as instructed but i cant find the "_glsr_average" field in hidden custom fields. Kindly assist.

#1102327

You need to submit some ratting to with "site-reviews" plugin
hidden link

then there will be some records of field "_glsr_average" in your database, and you will be able to find it in hidden custom fields.

#1103256

Great, this works fine.

Thank you.