开发者 | isabel104 |
---|---|
更新时间 | 2020年8月30日 12:57 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 5.4 |
版权: | GNU Version 2 |
版权网址: | 版权信息 |
[lcf_contact_form]
Optionally, add these CSS styles to align the form fields.
This step is strongly recommended: To stop SPAM on your contact form, get your free Google reCAPTCHA keys. Then, enter those keys in your WordPress admin settings by going to Settings > Discussion. On the Discussion Settings page, scroll all the way down to "Lightweight Contact Form" where you'll find the place to enter your reCAPTCHA v3 Site key and reCAPTCHA v3 Secret key.
That is all. Now you have a lightweight, working contact form on your WordPress site. When someone fills out and submits your contact form, it will be sent to the admin email which is set in your WordPress General Settings.
To try the contact form, visit that page on your site.
(If you need extra fields or different forms for different pages, see the Advanced: Add Custom Form Fields section.)To stop SPAM on your contact form, get your free Google reCAPTCHA keys. Then, enter those keys in your WordPress admin settings by going to Settings > Discussion. On the Discussion Settings page, scroll all the way down to "Lightweight Contact Form" where you'll find the place to enter your reCAPTCHA v3 Site key and reCAPTCHA v3 Secret key.