The Contact Form shortcode renders a basic contact form that can be added to any part of your website. The fields included are:
- Full name (mandatory)
- Phone (mandatory)
- Email (mandatory)
- Message (mandatory)
The shortcode has two important behaviours:
- The shortcode is set up to send an email to the website’s admin email set in Settings->General, unless the to=”” attribute is set.
- If you want to override the email all submissions go to, just add to=”email@example.com” to the shortcode.
There’s cases in which lots of spam submissions are sent through the contact form. If this is your case, we recommend to switch to a more specialized plugin like Contact Form 7 or a similar alternative.