• Resolved ant42

    (@ant42)


    Dear Support Team,

    I am trying to customize the HTML code for the star ratings in the Site Reviews plugin. According to the documentation, the plugin should include the following template files in the rating folder:

    ├── rating
    │ ├── empty-star.php
    │ ├── full-star.php
    │ ├── half-star.php
    │ └── stars.php

    However, these files do not appear in the templates folder of the plugin (/wp-content/plugins/site-reviews/templates/rating).

    I have attempted to create custom template files for the stars in my child theme, but it seems that these customizations are not being applied.

    Could you please assist me in resolving this issue? I would like to be able to use my own HTML for the star ratings.

    Thank you for your help.

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

    (@geminilabs)

    The rating templates were removed in Site Reviews v7.0. I will fix the documentation in the next update. If you want to customize the star images used in the rating you have two options:

    1. Site Reviews > Help & Support > FAQ > How do I customise the stars?
    2. The Review Themes addon.
    Thread Starter ant42

    (@ant42)

    Thank you for your prompt response. I would like to clarify a point regarding the first option you mentioned in the FAQ for customizing the stars.

    Does the hook mentioned there only allow replacing the default star images with custom images? Or can I use the hook to replace the stars with a custom HTML tag, such as <i class=”sr-star ai-star-filled text-warning”></i>? If yes, how can this be done?

    Plugin Author Gemini Labs

    (@geminilabs)

    No, you cannot change the HTML tags for the star rating.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.