• Resolved cathyx

    (@cathyx)


    Hi there

    I have two questions:
    1. Is there any way to update the text that displays when a user votes? For example, “Rating Updated!” and “Rating Saved!”.

    We have to buy the pro version so need some clarity on these issues before we do.

    • This topic was modified 3 years, 9 months ago by cathyx.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor dudo

    (@dudo)

    Hello!!

    There is no such setting for that, but you can do easily adding this code into your child theme:

    add_filter('yasr_vv_saved_text', static function($text) {
        if($text === 'Rating Updated!') {
            $text = 'updated'; //YOUR TEXT HERE WHEN RATING IS UPDATED
        } else {
            $text = 'saved';  //YOUR TEXT HERE WHEN RATING IS SAVED
        }
        return $text;
    },10, 1);

    Best,
    Dario

    Thread Starter cathyx

    (@cathyx)

    Wow, thanks so much for the quick response. I’ll give it a shot.

    I have another issue but for now, I have a workaround. I’ll chat to you again if it persists once we’ve bought the pro version.

    Thanks for the great plugin ??

    Plugin Contributor dudo

    (@dudo)

    Great!

    Can I ask to leave you a five stars review here?
    It is an huge help for me, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Text for user voting’ is closed to new replies.