
內容簡介
VS Contact Form 是一款輕量級聯絡表單外掛,支援區塊編輯器與傳統編輯器,可透過區塊、短代碼或小工具顯示表單,並內建防垃圾郵件功能與表單提交記錄,適合快速建立網站聯絡頁面。
【主要功能】
• 支援區塊編輯器與傳統編輯器
• 可用區塊、短代碼或小工具顯示表單
• 內建姓名、電子郵件、主旨、訊息欄位
• 隱私權同意核取方塊
• 在控制台中檢視表單提交記錄
• 內建反垃圾郵件機制
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
About
With this lightweight plugin you can create a contact form.
Main features of the plugin:
Free and lightweight
Support for Block Editor and Classic Editor
Display your form with block, shortcode or widget
Fields for Name, Email, Subject and Message
Privacy consent checkbox
Customize your form via the settings page or with attributes
List form submissions in your dashboard
Built-in anti-spam features
Documentation at WP plugin page
Active support from developer at WP forum
How to use
After installation go to the editor and add the VS Contact Form block or the shortcode [contact] to a page. This will display your form.
Or go to Appearance > Widgets and use the VS Contact Form widget.
Customize your form via the settings page or with attributes.
Settings page
The settings page is located at Settings > VS Contact Form.
Attributes
Settings and labels can be overridden by adding attributes to the block, shortcode, or widget.
This can be useful when having multiple contact forms on your website.
Misc:
Add custom CSS class to form: class="your-class-name"
Change email address for sending: email_to="your-email-address"
Send to multiple email addresses (max 5): email_to="first-email-address, second-email-address"
Change “From” email header: from_header="your-email-address"
Change subject in email: subject="your subject"
Change subject in auto-reply email to sender: subject_auto_reply="your subject"
Field labels:
Name: label_name="your label"
Email: label_email="your label"
Subject: label_subject="your label"
Message: label_message="your label"
Privacy consent: label_privacy="your label"
Submit: label_submit="your label"
Field placeholders:
Name: placeholder_name="your placeholder"
Email: placeholder_email="your placeholder"
Subject: placeholder_subject="your placeholder"
Message: placeholder_message="your placeholder"
Field error labels:
Name: error_name="your label"
Email: error_email="your label"
Subject: error_subject="your label"
Sum: error_sum="your label"
Message: error_message="your label"
Message – more than 1 link is not allowed: error_message_has_links="your label"
Message – links are not allowed: error_message_has_links="your label"
Message – email addresses are not allowed: error_message_has_email="your label"
Banned words: error_banned_words="your label"
Privacy consent: error_privacy="your label"
Messages:
Displayed when sending succeeds: thank_you_message="your message"
Displayed in the auto-reply email to sender: auto_reply_message="your message"
Example: [contact email_to="your-email-address" subject="your subject" label_submit="your label"]
When using the block or the widget, don’t add the main shortcode tag or the brackets.
Example: email_to="your-email-address" subject="your subject" label_submit="your label"
Display form submissions in dashboard
Via the settings page you can activate form submissions being stored and displayed in your dashboard.
After activation go to menu item “Submissions”. Your form submissions will be listed here.
SMTP
SMTP (Simple Mail Transfer Protocol) is an internet standard for sending emails.
By default, WordPress uses the PHP mail() function for sending emails. But when using SMTP there’s less chance your form submissions are being marked as spam.
You must install an additional plugin for this, such as WP mail SMTP.
Cache
If you’re using a caching plugin and want to avoid conflicts with the contact form, exclude your contact page from caching. This can be done via the settings page of most caching plugins.
Have a question?
Please take a look at the FAQ section.
Translation
Translations are not included, but the plugin supports WordPress language packs.
More translations are very welcome!
The translation folder inside this plugin is redundant, but kept for reference.
Credits
Without help and support from the WordPress community I was not able to develop this plugin, so thank you!
