Contact Forms
A contact form is a great way of encouraging your visitors to get in touch without you having to publish your private email address. Keeping it safe from spammers.
How do I add a contact form to my blog?
Adding a contact form to your DomainsFoundry WordPress blog or site is easy.
- Just type the following into any post or page where you want your contact form to appear:
[contact-form]
- After publishing, a contact form asking for the sender’s name, email address, website and message will be displayed.
- If your visitor is already logged into your DomainsFoundry WordPress site or blog, the contact form will use their profile information. The contact form will look like the image below.
- When someone submits a message through the form, you’ll receive their message in an email.
Additional Info
- Your email address is kept private and unless you reply to their email, they’ll never learn it.
- The email is sent to the author of the post or page with the contact form in it. This allows each author on your blog to have their own contact form.
- All emails sent through the contact form are filtered through our spam filters. Whilst we can’t guarantee 100% spam free emails, it does mean you’ll see very few, if any, spam emails.
- You can include any text, photos or links above or below the contact form.
- It is not possible to add or remove form fields from the contact form.
- If you have Custom CSS, you can customize the look of the form.
Advanced Settings
Optional Attributes
Our WordPress Contact Form shortcode accepts the following parameters (attributes):
- subject – The subject title. Defaults to Blog name.
- show_subject – Show or Hide subject input field in form. Defaults to “False”.
- show_url – Show or hide the URL input field in form. Defaults to “True”.
- show_tel – Show or hide the Telephone input field in form. Defaults to “False”.
- to – The email address the form will send to. Defaults to blog admin or post/page author (if different).
- message_subject – The title shown when the form has been submitted successfully. Defaults to “Message Sent”.
- message – The text below the above message subject. Defaults to the submitted message.
Example
Here is an example of our WordPress Contact Form Shortcode with optional attributes:
[contact-form subject="Contact Us Today" show_subject="true" to="example@example.com" message_subject="Thank You!" message="Thank you for contacting Acme Inc, we will be in touch very shortly."]