
Form
With this lightweight plugin you can create a contact form.
Main features of the plugin:
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.
The settings page is located at Settings > VS Contact Form.
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:
class="your-class-name"email_to="your-email-address"email_to="first-email-address, second-email-address"from_header="your-email-address"subject="your subject"subject_auto_reply="your subject"Field labels:
label_name="your label"label_email="your label"label_subject="your label"label_message="your label"label_privacy="your label"label_submit="your label"Field placeholders:
placeholder_name="your placeholder"placeholder_email="your placeholder"placeholder_subject="your placeholder"placeholder_message="your placeholder"Field error labels:
error_name="your label"error_email="your label"error_subject="your label"error_sum="your label"error_message="your label"error_message_has_links="your label"error_message_has_links="your label"error_message_has_email="your label"error_banned_words="your label"error_privacy="your label"Messages:
thank_you_message="your message"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"
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 (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.
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.
Please take a look at the FAQ section.
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.
Without help and support from the WordPress community I was not able to develop this plugin, so thank you!