We'll create fresh WordPress site with VS Contact Form installed. You have 20 minutes to test the plugin after that site we'll be deleted.
With this lightweight plugin you can create a contact form.
Add shortcode [contact] to a page or use the widget to display your form.
Form has fields for Name, Email, Subject and Message. It also has a sum to solve (to avoid abuse) and a privacy consent checkbox.
You can customize your form via the settings page or by adding attributes to the shortcode or the widget.
It’s also possible to display form submissions in your dashboard.
After installation add shortcode [contact] to a page or use the widget to display your form.
You can customize your form via the settings page. This page is located at Settings > VS Contact Form.
Settings and labels can be overridden when using the relevant attributes below.
This can be useful when having multiple contact forms on your website.
You can also customize your form by adding attributes to the shortcode or the widget. Attributes will override the settings page.
Misc:
class="your-class-here"
email_to="your-email-here"
email_to="first-email-here, second-email-here"
from_header="your-email-here"
subject="your subject here"
subject_auto_reply="your subject here"
Field labels:
label_name="your label here"
label_email="your label here"
label_subject="your label here"
label_message="your label here"
label_privacy="your label here"
label_submit="your label here"
Field placeholders:
placeholder_name="your placeholder here"
placeholder_email="your placeholder here"
placeholder_subject="your placeholder here"
placeholder_message="your placeholder here"
Field error labels:
error_name="your label here"
error_email="your label here"
error_subject="your label here"
error_sum="your label here"
error_message="your label here"
error_message_has_links="your label here"
error_message_has_email="your label here"
error_banned_words="your label here"
error_privacy="your label here"
Messages:
thank_you_message="your message here"
auto_reply_message="your message here"
Example: [contact email_to="your-email-here" subject="your subject here" label_submit="your label here"]
When using the widget, don’t add the main shortcode tag or the brackets.
Example: email_to="your-email-here" subject="your subject here" label_submit="your label here"
Via the settings page you can activate form submissions being displayed in your dashboard.
After activation you will notice a new menu item called “Submissions”.
SMTP (Simple Mail Transfer Protocol) is an internet standard for sending emails.
WordPress supports the PHP mail()
function by default, 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, I recommend excluding your contact page(s) 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 the WordPress codex and help from the WordPress community I was not able to develop this plugin, so: thank you!
Enjoy!