TechnologyWeb & WordPress

How to Add a Contact Form to Your WordPress Site

Admin
How to Add a Contact Form to Your WordPress Site

Every serious website needs a contact form. It lets readers, customers, and business partners reach you without exposing your email address to every spam bot on the internet — and it looks far more professional than a bare “email me at…” line. On WordPress, adding one takes about ten minutes with a free plugin, no code required.

This guide walks you through building a clean, working contact form, putting it on a proper Contact page, and fixing the one problem that trips up almost everyone afterwards: form emails landing in spam or never arriving at all.

Quick Answer

To add a contact form to a WordPress site: install a free form plugin like WPForms Lite or Contact Form 7, create a form with name, email, subject, and message fields, copy the form’s shortcode or block, and paste it into your Contact page. Then install an SMTP plugin (like WP Mail SMTP) and connect it to your email service so submissions actually reach your inbox reliably instead of being lost or flagged as spam.

Step 1: Install a Contact Form Plugin

WordPress core has no built-in form builder, so a plugin does the job. The two classic free choices:

  • WPForms Lite: A drag-and-drop builder — the easiest for beginners. You see the form as you build it.
  • Contact Form 7: The oldest and most installed form plugin. Slightly more technical (it uses simple markup tags), extremely reliable, and completely free with no upsells.

Go to Plugins → Add New, search the name, click Install Now, then Activate. This guide uses WPForms for the steps because its interface is visual, but the concepts are identical everywhere. You can browse details of both on the official WPForms Lite plugin page before deciding.

Step 2: Build Your Form

  1. In the WordPress dashboard, go to WPForms → Add New.
  2. Choose the Simple Contact Form template. It starts with Name, Email, and Message fields — which is most of what you need.
  3. Click any field to edit its label. Add a Subject field (single line text) if you want to sort enquiries.
  4. Keep the form short. Every extra field lowers the number of people who bother submitting. Name, email, subject, message is the sweet spot for a general contact form.
  5. Optionally add a privacy consent checkbox if your audience is in the EU/UK — good practice under GDPR.
  6. Click Settings → Notifications and confirm the “Send To” address is the inbox you actually read.
  7. Click Settings → Confirmation and edit the thank-you message visitors see after submitting, e.g. “Thanks — we reply within 1–2 working days.”
  8. Save the form.

Step 3: Put the Form on Your Contact Page

  1. Go to Pages → Add New and title it “Contact”. (If you followed a site setup guide, you may already have this page — edit it instead.)
  2. Write two or three welcoming lines above the form: who should contact you, what about, and how fast you reply. A form floating on an empty page feels like a trap.
  3. Add the form: click the + block button, search “WPForms”, and select your form from the dropdown. (With Contact Form 7 or older editors, paste the form’s shortcode — a line like [contact-form-7 id=”123″ title=”Contact form”] — into a Shortcode block.)
  4. Optionally add alternatives below the form: your professional email address (written as an image or with “at” spelled out if spam worries you) and social profiles.
  5. Publish the page and add it to your menu under Appearance → Menus, in the header or footer.

If you’re building your site from scratch, the contact page is one of the essential pages to create before launch — our step-by-step guide to starting a WordPress blog covers the full set and the order to do them in.

Step 4: Stop Form Emails Going to Spam (The Step Everyone Misses)

By default, WordPress sends email using the server’s basic mail function, which receiving services distrust — so form notifications often land in spam or vanish entirely. The fix is sending through a real email service with SMTP:

  1. Install the free WP Mail SMTP plugin and run its setup wizard.
  2. Choose a mailer: for most small sites, connecting a Gmail/Google Workspace account or using a free tier of a sending service (Brevo, SendGrid, Mailgun) works.
  3. Set the “From Email” to an address on your own domain (like contact@yourdomain.com) and the “From Name” to your site name.
  4. Send a test email from the plugin’s Email Test tab and confirm it arrives in your inbox, not spam.

Submit your own form afterwards as a final end-to-end test. If the test email works but the form doesn’t, the problem is the form’s notification settings — check them again in Step 2.

Step 5: Protect the Form from Spam Bots

Within weeks, bots will find your form. Add one layer of protection:

  • reCAPTCHA or hCaptcha: Both WPForms and Contact Form 7 support Google reCAPTCHA v3 (invisible) or Cloudflare Turnstile (free and privacy-friendly). Enable one in the plugin’s settings.
  • Honeypot: WPForms includes an anti-spam honeypot toggle — turn it on; it traps bots without annoying humans.
  • Akismet: If you run it for comments, it can also filter form submissions on supported plugins.

Common Mistakes to Avoid

  • Never testing the form: The most common failure is silent — submissions going nowhere for months. Test after setup, and again after any plugin update.
  • Asking for too much information: Phone numbers, addresses, and dropdowns nobody needs will halve your enquiries. Ask only what you’ll act on.
  • Notifications sent to an email you don’t check: The default is the admin email from installation day. Verify it in the form’s notification settings.
  • No confirmation message: If visitors see a blank page after submitting, they’ll submit twice — or assume it failed and leave.
  • Skipping the SMTP fix because “it worked in my test”: your test came from your own server to your own inbox. Real visitors’ messages trigger far stricter spam checks.

Where Do Form Submissions Go?

Submissions are primarily delivered by email to the notification address you set — but a copy also lives inside WordPress if your plugin stores entries. WPForms Lite shows entries in its dashboard for a limited history, and Contact Form 7 pairs with the free Flamingo plugin to store every message in the database. Storing entries is worthwhile insurance: if email delivery ever fails silently, your enquiries aren’t lost, they’re waiting in the database. Check the entries list once a month, and treat it as a second inbox — it has saved more than one business from a “we never got your message” disaster.

Conclusion

A contact form is ten minutes of setup that makes your whole site more trustworthy: install WPForms Lite or Contact Form 7, build a short four-field form, place it on a friendly Contact page, and — the step that separates working forms from decorative ones — route email through SMTP so messages actually reach you. Add a captcha layer, test it yourself, and your visitors have a reliable way to reach you from day one.

Frequently Asked Questions

What is the best free contact form plugin for WordPress?

WPForms Lite is the easiest for beginners thanks to its drag-and-drop builder. Contact Form 7 is the best fully-free, no-upsell option and is extremely reliable. Both are used on millions of sites.

Why are my contact form emails going to spam?

Because WordPress’s default mail method looks untrustworthy to email providers. Install an SMTP plugin like WP Mail SMTP and send through Gmail or a proper sending service — this authenticates your mail and fixes most delivery problems.

Can I add a contact form without a plugin?

Technically yes with custom code or some block themes’ built-in forms, but a plugin is safer and easier: it handles spam protection, email delivery settings, and storing entries, none of which a hand-coded form does reliably.

How do I add a contact form to a page using a shortcode?

Each form plugin gives you a shortcode (e.g. [wpforms id=”123″]). Paste it into a Shortcode block or directly into a paragraph block on any page or post, and the form appears there when published.

Should I show my email address as well as a form?

A form alone is enough for most sites and keeps your address away from spam scrapers. If you do show an address, use your professional domain email and expect some spam — a form plus a captcha is the cleaner solution.

Admin

Passionate about the intersection of style and storytelling. I simplify fashion trends and industry news into easy-to-follow advice, helping you stay stylish and informed in the fast-paced world of fashion.

Leave a Reply

Your email address will not be published. Required fields are marked *