How to Create a Contact Form in WordPress
Build a useful WordPress contact form, then test it before launch.
Why Your WordPress Site Needs a Contact Form
A contact form gives visitors a direct way to ask questions. It also keeps your email address off public pages. For many small sites, a name, email, and message field are enough.
A form can send each request to the right inbox and show a clear reply notice. It can also help you sort requests by topic. Keep the first view simple. Each extra field adds work for visitors.
Before you build, decide what a useful reply needs. A shop may ask for an order number. A service firm may ask which service the visitor needs. Collect only details that help you answer.
If you are asking how to create a contact form in WordPress, start with its purpose. That choice guides the plugin, fields, and notice settings. It also keeps the finished form focused.
Choose a WordPress Contact Form Plugin
WordPress contact form plugins range from simple tools to full form builders. Gravity Forms is a strong pick for sites that need varied fields and conditional logic. Its Gravity Forms feature list outlines the features you can review before choosing.
For a basic form, Contact Form 7 is a free option. Its editor uses form tags, rather than a visual drag-and-drop builder. That suits users who do not mind a more hands-on setup. The Contact Form 7 plugin page lists current details and setup notes.
Compare the tools before you install one. Check which fields you need, how the form sends mail, and whether it saves entries. Some features may need a paid plan or add-on.
- Basic use: Look for name, email, message, and spam checks.
- More control: Check for file fields, saved entries, or conditional logic.
- Easy editing: Pick a builder that suits your WordPress skills.
To create a contact form plugin in WordPress, install a form tool from the Plugins screen. To create a custom form plugin in WordPress, you would need to build or code a plugin. Most site owners can use an existing tool instead.

Build and Add Your First Contact Form
Open your WordPress dashboard and choose Plugins, then Add New. Find the form tool you want, install it, and activate it. Follow its setup prompts, since each plugin has its own menu.
Start with a blank form or choose a contact form template. Add Name, Email, and Message fields. Mark only essential fields as required. Use labels visitors can understand without extra help.
Save the form, then add it to a page with its block or shortcode. Create a page named Contact and write a short opening line. Preview the page on a phone and a desktop before publishing.
That is the core of how to create a contact us form in WordPress. If your plugin offers a visual builder, drag fields into place. Otherwise, use its form editor and follow the field syntax it provides.
To create a contact page in WordPress, add useful details beside the form. You might include business hours, a support email, or an expected reply time. Leave out private details that visitors do not need.
A contact page and a contact form are not the same thing. The page can hold helpful context, while the form gathers a request. This is also how to create a contact us page in WordPress that serves visitors well.

Customize Fields and Form Templates
A custom form should fit the task, not collect every detail. Remove fields that do not help you reply. Use plain labels, such as “How can we help?” instead of vague names.
Templates save setup time, but you can change them. Add a topic menu when requests go to different teams. Ask for an order number only when the visitor needs help with an order.
Conditional logic changes the form based on a visitor’s answer. For example, choosing “Billing” could reveal an order number field. Choosing “Product help” could show a product field instead.
Test each path before launch. Check that hidden fields stay hidden and that required fields do not block other paths. If your plugin lacks conditional logic, make separate short forms.
People searching how to create a custom contact form in WordPress can start with a template, then change its fields. The same method works for how to create a custom form in WordPress for bookings or support. Keep the form tied to one clear task.
Contact Form 7 uses a different setup from a visual builder. To learn how to create Contact Form 7 in WordPress, install the plugin and edit its sample form tags. Add the form to a page with the shortcode it gives you.
Style the Form for Ease of Use
Match the form to your site, but put ease of use first. Place clear labels above fields and leave room between them. Make the submit button easy to tap on a phone.
Check that text and field borders stand out from the page. Do not use color alone to show errors or required fields. Add a short error note beside any field that needs a fix.
Try the form with a keyboard and at a narrow screen width. Make sure each field gets focus in the right order. Keep decorative features from drawing attention away from the form.
Small changes can make forms easier to use. Short labels, clear error notes, and a visible submit button help visitors finish. Remove any field that does not support the form’s goal.
Set Up Notifications and Confirmations
Set an email notice to go to the person who handles new requests. Use a site email address as the sender when your setup allows it. Set the visitor’s address as the reply-to address, so your reply reaches them.
Write a useful subject line, such as “New support request.” Include the form fields your team needs, but avoid sending needless personal details. Test the notice with an address you can check.
Set a confirmation message or send visitors to a thank-you page. Tell them the form worked and give a fair reply time. Do not promise a fast reply unless your team can meet it.
Send a test entry after each change. Check the inbox, junk folder, and reply address. If mail does not arrive, review the plugin’s mail settings and your site’s mail setup.
Test and Maintain Your Contact Form
Before launch, fill out every field and submit the form on desktop and mobile. Test missing fields, invalid email addresses, and each conditional path. Confirm that the visitor sees a clear result.
Check the form again after plugin or theme updates. Remove fields that no longer serve a purpose, and keep the plugin current. A short, tested form is easier to manage and easier to use.
- Use only the fields needed to answer a request.
- Check notices and confirmation messages with a real test entry.
- Review the page on a phone and with a keyboard.
Step-by-step
- 01 Choose a form plugin
Pick a plugin with the fields and features your site needs. Check how it handles mail and saved entries.
- 02 Create the form
Start with a blank form or template. Add the fields needed to answer visitor requests.
- 03 Add the form to a page
Create a contact page and insert the form with its block or shortcode. Add helpful details, such as reply times.
- 04 Set notices and test
Choose who receives each submission and set a clear confirmation message. Send test entries on desktop and mobile.
Frequently asked questions
- How do I create a contact form in WordPress?
- Install a contact form plugin, add fields such as Name, Email, and Message, then place the form on a page. Test a submission before you publish.
- Can I create a WordPress contact form without coding?
- Yes. Many plugins offer templates or visual builders, so you can add fields without writing code. Contact Form 7 uses tags instead of a visual builder.
- What fields should a contact form include?
- Most basic forms need a name, email address, and message field. Add other fields only when they help you answer the request.
- How do I add a contact form to a WordPress page?
- Create or edit a page, then insert the form with its plugin block or shortcode. Preview the page on a phone and desktop.
- Why are WordPress contact form emails not arriving?
- Check the form’s recipient and sender settings, then test your site’s mail setup. Look in the junk folder and confirm the recipient address is correct.
Related reading
How to Add Custom CSS to Your WordPress Site
Add CSS to one page or your whole WordPress site without losing changes.
How to Install WooCommerce and Set Up Your Store
Install WooCommerce, shape your store, and get products ready to sell.
Create a Portfolio Website with WordPress
Build a polished WordPress portfolio, one clear step at a time.