Create a contact form using the shortcode.
[contact_form]
Parameters
- to
- (string) (Optional) The address emails should be set to.
- subject
- (string) (Optional) The message subject
- thankyou
- (string) (Optional) A confirmation message shown after sending.
- button
- (string) (Optional) The text for the send button
- captcha
- (string) (Optional) Set to “yes” to include CAPTCHA validation.
- fields
- (string) (Optional) The alias of the fields to include in the form. This can be a comma separated list. Only fields created in the theme settings can be used.
Examples
Contact form with custom options:
[contact_form to="your@email.com" subject="Message Subject" thankyou="Thank you message" button="Text for Button" captcha="yes" fields="field-1,field-2,field-3"]