• Resolved T_ed

    (@t_ed)


    Hello!
    Do your plugin have feature to make a comparsion table with summary reviews score of multiple products or companies? I believe you saw these on some other popular review plugins. If not, do you have any plans to implement this feature?

    Also would be great to have a demo site, where you can see typical look of plugin live, main features, etc. Just sayin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    1. Please provide an example.

    2. Here is a demo: https://site-reviews.staging.skybox.one

    Thread Starter T_ed

    (@t_ed)

    For example: https://ultimate-reviewer.ghostpool.com/comparison-tables/

    With sorting based on rating or maybe some criterias

    Thread Starter T_ed

    (@t_ed)

    ?

    Plugin Author Gemini Labs

    (@geminilabs)

    1. Adding a comparison table layout like the example you gave is something that can easily be done with a page builder since page builders are made to help you create custom layouts like this. Additionally, please note that the plugin you mention above is a Elementor & WPBakery Page Builder Addon, meaning it requires using a page builder to accomplish the layout.

    2. Site Reviews currently provides a single rating field. It also allows you to assign reviews to pages/products/posts/etc., and to categories.

    When a review is assigned to a page, a meta_key is stored on that page which contains the average rating of the page. Every time a new review is assigned to the page, the average rating value is updated. Additionally, a page ranking value is also assigned to the page, this ranking number is determined using a Bayesian algorithm, the same algorithm that is used by IMDB to rank films.

    This means that you can use these meta_values to sort your pages by average rating, or by rank.

    The meta_key to sort by average rating is _glsr_average
    The meta_key to sort by by rank is _glsr_ranking

    Here is an illustration that explains why sorting by rank may sometimes be better than sorting by average rating:

    To learn more about using these meta_keys for sorting your assigned pages, please see the “How do I order pages with assigned reviews by rating or ranking?” topic on the Help > FAQ page.

    3. Many page builders allow you to create comparison tables, and they usually allow you to sort the columns using a meta_key. In this case, you would use one of the two provided meta_keys to sort.

    A quick google search provides this example: https://theplusaddons.com/elementor/widgets/table/

    4. As previously stated, Site Reviews provides a single rating field. While it is possible to add your own custom fields, this is not actively supported so you would be on your own to implement it. However, I have created a code example which should help you get started: https://pastebin.com/4fvKErcp

    Thread Starter T_ed

    (@t_ed)

    Wow! Your answer if outstanding! Thank you!

    Plugin Author Gemini Labs

    (@geminilabs)

    Also, Site Reviews provides a glsr_star_rating() helper function (see the Help > Functions page) which allows to to render the stars for a provided average rating. This helper function is useful to use in your theme templates.

    However, if you are using a page builder, you can add the following code in your theme’s functions.php which registers a [site_reviews_rating] shortcode which does the same thing: https://pastebin.com/TFchpaam

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Comparsion table’ is closed to new replies.