Support » Plugin: Site Reviews » CAPTCHA Error

  • Resolved jerryrcole

    (@jerryrcole)


    Hi Paul, I’ve installed your plugin and really like it! It’s simple, yet highly sophisticated.

    Could you help me with a few snags I’m running into?

    1. CAPTCHA
    I’ve enabled reCAPTCHA in the plugin settings. I signed up for an API key pair and registered my live and staging site domains. When I visit a page with the review form, I receive the following error. Any recommendations on how to fix?
    This site key is not enabled for the invisible captcha.

    2. h3
    I noticed the site reviews feed uses h3 tags for the title of each review. Is it possible to add a custom css class to each of these h3 tags?

    The page I need help with: [log in to see the link]

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

    (@geminilabs)

    1. Please verify that your recaptcha key is for the “v2 invisible recaptcha”, and that your site URL has been added to it.

    2. If you need to target the review titles in your CSS:

    .glsr-review-title h3 {}

    If you really must add a CSS class to the h3 tag itself:

    /**
     * Paste this in your active theme’s functions.php file
     * @param string $title
     * @return string
     */
    add_filter( 'site-reviews/review/wrap/title', function( $title ) {
        $title = str_replace( '<h3>', '<h3 class="review-title">', $title );
        return $title;
    });

    Outstanding, thanks for the quick response!

    1. I wasn’t selecting the “invisible” recaptcha option.

    2. I was able to use the css class you provided.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CAPTCHA Error’ is closed to new replies.