- Install and activate the Contact Form 7 plugin.
- Go to Contact → Add New and set up your contact form.
Example from the theme demo Book your Table page:
<label> Your Name*
[text* your-name] </label>
<label> Your Email*
[email* your-email] </label>
<label> Date*
[date* the-date] </label>
<label for="thetime"> Time* </label>
[radio the-time use_label_element id:thetime "17:00" "17:30" "18:00" "18:30" "19:00" "19:30" "20:00"]
<label> Number of People*
[number number-people min:1 max:10]</label>
<label> Your Message*
[textarea* your-message] </label>
[submit "Send"]
You can find more info on how to work with Contact Form 7 in the Contact Form 7 Docs.
- Click Save and copy the shortcode that you find below the title field.
- You can now paste the shortcode into any page, using the shortcode block.