• Resolved zulumaster

    (@zulumaster)


    Hi,
    how/where can i change the position of the result from “Rating: 4.0, from 53 votes” to “Rating: 4.0 / 5 (53 votes)” in the light template?

    I found this in your video, but it’s only data. How can i use this with the voting in the light template?

    <php 
    $rating = gdrts_get_rating_item_by_post();
    $stars_rating = $rating->get_method_data('stars-rating');
    
    if (isset($stars_rating['rating'])) { ?>
    Rating: <?php echo $stars_rating['rating'].' / '.$stars_rating['votes']; ?>

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Milan Petrovic

    (@gdragon)

    Check out the knowledge base, there are many articles there related to this, you need to override template you use, and make changes in it. There are video tutorials too.

    Yes, but which article, to be precise? You are being too vague. Which ones? We can’t find the info we are looking for.

    • This reply was modified 7 years, 7 months ago by 1BJK903.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change result from “Rating: 4.0, from 53 votes” to “Rating: 4.0 / 5 (53 votes)’ is closed to new replies.