reCAPTCHA(Contact Form7)の設定

①設定するGoogleアカウントにログイン後、以下へアクセスし必要項目入力https://www.google.com/recaptcha/admin/create

②サイトキーとシークレットキーを取得

③WPの「お問い合わせ」メニュー内、インテグレーションに上記キーを貼り付け

④サイト右下にシールが表示されたら完了

サイトシールを隠したい時

ページトップなどと被る場合、お問い合わせフォームページに以下を表示
記述例

<div class="recaptha_wrap">This site is protected by reCAPTCHA and the Google
    <a href="https://policies.google.com/privacy">Privacy Policy</a> and
    <a href="https://policies.google.com/terms">Terms of Service</a> apply.</div>
/*recaptcha表示を隠す*/
.grecaptcha-badge {
  visibility: hidden;
}
.recaptha_wrap {
  font-size: 1.4rem;
  text-align: center;
  padding-bottom: 50px;
  color: #aaa;
}
.recaptha_wrap a {
  color: #666;
}

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です