Skip to content
Knowledge Base

Set up a contact form with Contact Form 7

Many RT-Themes classic themes include a simple built-in contact form. When you need your own fields, such as a booking request or a newsletter signup, use Contact Form 7. It is free and widely supported by page builders.

  1. Open Plugins → Add New Plugin and search for “Contact Form 7”.
  2. Click Install Now, then Activate.
  3. A new Contact menu appears in the dashboard.
  1. Open Contact → Add New and give the form a title.
  2. On the Form tab, edit the template. Each field is a form tag in square brackets, for example [text* your-name] or [email* your-email]. The asterisk makes a field required.
  3. Use the tag buttons above the editor to add fields such as date, drop-down menu, or checkboxes. Each button opens a small generator.
  4. Keep a [submit "Send"] tag at the end.
  5. Click Save.

The Mail tab controls the email the form sends to you.

  1. Set To to the address that should receive submissions.
  2. Set From to an address on your own domain, such as wordpress@example.com. A visitor’s address in From makes the message look spoofed and often lands in spam.
  3. Put the visitor’s email tag in Additional Headers as Reply-To: [your-email] so you can reply directly.
  4. Include each field’s tag in Message body, or the value will not appear in the email.
  5. Click Save and fix any configuration warning shown at the top.

If test submissions do not arrive, the server’s mail route is usually the cause. An SMTP plugin connected to your mail provider fixes most cases. See contact form email delivery.

Copy the shortcode shown below the form title, such as [contact-form-7 id="1a2b3c4" title="Contact form 1"].

  • Block editor: add a Shortcode block or the Contact Form 7 block and paste or select the form.
  • Elementor: use the Contact Form 7 widget, or a Shortcode widget.
  • WPBakery: use the Contact Form 7 element and pick the form.
  • Widget area: add a Shortcode block in Appearance → Widgets.

Some RT-Themes products ship sample forms, such as booking and newsletter forms, in the demo content folder of the full download package. If you ran the theme’s demo import, they may already be in Contact → Contact Forms. Otherwise import the forms file with Tools → Import → WordPress. Then open each form and update its Mail tab with your own addresses. Your product’s documentation names the forms it includes.

Submit the form from the live page while logged out. Confirm the success message, the email in the recipient’s inbox, and that Reply goes to the visitor.