In this Q&A session we guide you through creating a contact form in WordPress using popular plugins Contact Form 7 and WPForms. You’ll see steps for installation, form tag setup, email notifications and shortcode placement. The answers also cover optional spam protection and a note on GDPR compliance.
Help me set up a contact form in WordPress
Contact Form 7 is free, flexible, and widely used.
<label> Your Name (required)
[text* your-name] </label>
<label> Your Email (required)
[email* your-email] </label>
<label> Subject
[text your-subject] </label>
<label> Your Message
[textarea your-message] </label>
[submit "Send"]
To: your-email@example.com
From: [your-name] <wordpress@your-domain.com>
Subject: Contact Form Submission from [your-subject]
Message Body:
From: [your-name] <[your-email]>
Subject: [your-subject]
Message:
[your-message]
--
This e-mail was sent from a contact form on Your Site Name (your-website.com)
Replace your-email@example.com with your address. Use a wordpress@your-domain.com format for the From field to help avoid spam filters.
[contact-form-7 id="123" title="Contact form 1"]).[cf7sr-turnstile] shortcode above the submit button to add Cloudflare Turnstile CAPTCHA.WPForms provides a drag-and-drop builder.
WP Assistant is a free tool created by Atiba Software, a WordPress design and development company located in Nashville, TN. If you need more personalized WordPress assistance let us know, and we’ll get back to you ASAP!