HomeBlog › WordPress Contact Form: Contact Form 7 & WPForms Guide
📧 Basics

WordPress Contact Form: Contact Form 7 & WPForms Guide

📅 January 2025⏱️ 10 min✍️ Woops.ai

⚡ Quick Contact Form Setup

  1. Install Contact Form 7 or WPForms
  2. Create form with desired fields
  3. Insert shortcode on page
  4. Enable spam protection

Why a Contact Form?

A contact form is more professional than a plain email address. It filters spam, collects structured data, and lets you request exactly the information you need.

Advantages over email link:

Option 1: Contact Form 7 (Free)

The most popular form plugin with over 5 million installations. Flexible but more technical.

1

Install Plugin

Plugins → Add New → "Contact Form 7" → Activate

2

Create New Form

Contact → Add New. Example form:

<label>Name (required)
[text* your-name]</label>

<label>Email (required)
[email* your-email]</label>

<label>Subject
[text your-subject]</label>

<label>Message
[textarea your-message]</label>

[checkbox* acceptance "I agree to the privacy policy"]

[submit "Send"]
3

Configure Email

In the "Mail" tab:

  • To: your@email.com
  • From: [your-email]
  • Subject: Contact: [your-subject]
  • Body: Name: [your-name], Message: [your-message]
4

Insert Shortcode

Copy the shortcode [contact-form-7 id="123"] and paste it on a page.

Option 2: WPForms (Beginner Friendly)

Drag & drop editor, easier to use. Lite version is free.

1

Install Plugin

Plugins → "WPForms Lite" install → Activate

2

Create Form with Wizard

WPForms → Add New → Choose "Simple Contact Form" template → Customize fields with drag & drop

Setting Up Spam Protection

Google reCAPTCHA v3

Invisible spam protection without annoying image puzzles:

  1. Go to google.com/recaptcha
  2. Register reCAPTCHA v3 for your domain
  3. Copy Site Key and Secret Key
  4. In Contact Form 7: Contact → Integration → reCAPTCHA

Honeypot Method

Hidden field that only bots fill out:

Ensuring Email Delivery

Form emails often land in spam. Solution: Use an SMTP plugin!

Fix WordPress Problems Faster

AI-powered help for WordPress & WooCommerce.

Try Free →