Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor dudo

    (@dudo)

    Hi, is it’s possible with a simple edit:

    In the plugin directory, open file lib/yasr-shortcodes.php and on line 419 change this

    if (!$votes) {
            $votes=0;         //Avoid undefined variable if there is not overall rating
            $votes_number=0;  //Avoid undefined variable
        }

    with this

    if (!$votes) {
           return;
        }

    Best,
    Dario

    Thread Starter Erik Molenaar

    (@erikmolenaar)

    Dear Dario, it works like a charm. Thanks again for your prompt help and awesome support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only show [visitor-votes_readonly] If >0 Votes’ is closed to new replies.