How to Add a Contact Form to WordPress the Easy Way (No Code)

In this post, we'll show you how to add a contact form to WordPress without the need for coding. Follow this step-by-step guide.

Looking for a way to add a contact form to WordPress is among the very first customizations that people do on their brand new WordPress websites.

Why? The reasons are plenty, but chief among them is that WordPress doesn’t come with any built-in contact forms. 🤷‍♂️

Therefore, in this post, we’ll show you – step-by-step – how to add a contact form to your WordPress site without the need for coding.

📚 Table of contents:

  1. Pick a contact form plugin
  2. Install and activate the plugin
  3. Create a new contact form
  4. Name your contact form
  5. Customize your notifications and confirmations
  6. Add your form to a WordPress page
  7. Add a contact form to your sidebar (optional)
  8. Send a test email

But first, let’s have a word on why contact forms are useful:

Why add a contact form to WordPress?

Okay, so since WordPress doesn’t offer any contact form functionality by default, some users resort to publishing their email addresses on their sites in plain sight.

Just one problem:

This exposes your contact information to scrapers and spammers. Ever wondered how your email made its way onto some b*coin newsletter that you didn’t opt into? This is how.

So how does a contact form make your life better in this regard?

We can consider three key benefits of using contact forms on WordPress:

Make communication easier

Once you have a functional contact form on your site, visitors can shoot you a quick message right after engaging with your content – without the need to head to their inbox. This encourages faster interactions between you and your audience/customers.

Ward off spammers

If you don’t want to add a contact form to WordPress, you basically have only three alternative options:

  • (a) display your email address in plain sight,
  • (b) use social media channels for communication,
  • (c) eliminate visitor contacts entirely.

None are ideal. Scenario (b) is generally not reliable; (c) is probably not something you want to do since you’re reading this post; and (a) puts you in front of spammers and content scrapers, as we’ve already discussed.

Contact forms help you avoid spam emails and safely engage real people.

Control the flow of information

Unlike regular emails, you can request specific tidbits of information that you require your visitors to submit along with their message. Using a contact form helps you avoid irrelevant communications.

For instance, you can mark some fields as required (like a telephone number or a reason for communication). You can even force the person trying to connect with you to first tick the “terms agreement” box.

In the end, you save time and get straight to the point. 🎯

Now that we understand why adding a contact form to WordPress can be so useful, let’s go over the steps to how to actually do it:

How to add a contact form to WordPress

The method we’re presenting below works with every WordPress theme – and it works exceptionally well with Blocksy 😉.

1. Pick a contact form plugin

For convenience, we’ve selected WPForms to be our contact form plugin of choice, since it’s both beginner-friendly and simple. In addition, this plugin is SEO-friendly and supports integration with various third-party tools.

WPForms’ drag-and-drop feature makes it easy to create contact forms in a few clicks. It also has free and paid versions with multiple options for your business needs.

2. Install and activate the plugin

Head over to your WordPress dashboard and into Plugins → Add New. Enter “WPForms” into the search bar on the right to bring up the plugin.

Install WPForms to add a contact form to WordPress

Once you find it, select the Install Now button to install WPForms and then activate it to complete the process (the Activate button will appear in place of the Install Now button).

💡 Note; if your site runs on Blocksy and you’ve imported one of our starter designs, then you most likely have WPForms already installed on the site. Blocksy fetches WPForms automatically when importing a starter design.

3. Create a new contact form

As soon as the installation is complete, WPForms will show you a quick-start wizard to fast-track your form creation.

WPForms wizard

If you can’t see any such wizard, check if the installation and activation process worked. For that, go back to the Plugins area of the WordPress dashboard and search for WPForms on your list of installed plugins:

Plugin list

From here, you can also view more details, enable auto-updates, or deactivate WPForms. Clicking on the Get WPForms Pro button gives you access to more add-ons and custom settings.

Back to how to add a contact form to WordPress:

To begin, you can click the Create Your First Form button that’s shown by the wizard, or you can use a new button in the menu tray at the top or sidebar of your WordPress dashboard:

Add your first contact form to WordPress

4. Name your contact form

Clicking on either of the Add new [form] buttons sends you to the form setup page. From here, you have two options:

  1. Create a blank form.
  2. Use any of the pre-filled templates.
Add a new form

If you choose the blank form template, you can add the necessary fields with the drag-and-drop toolbar.

But first, let’s name our form. We’ll use “Contact Us” as our form title. We’ll also choose Blank Form for the purpose of this demonstration:

Set up the form

Getting fields added to the form is really straightforward. Just grab a field from the sidebar and drag it onto the canvas in the center:

Add fields to your contact form in WordPress

Just like that, one by one, you can add fields like name, email, message content, and whatever else you wish.

Here’s an example of a pre-filled template:

Example of how to add a contact form to WordPress

Most contact forms need basic fields like Name, Email, and the Paragraph Text – this one will contain the message your user wants to send.

There’s a lot of other fields we could have added – things like payment forms, phone numbers, drop-downs, checkboxes, and much more. To use any of those, just drag the field from the panel on the left and arrange it accordingly.

However, you can only access the Standard Fields feature in the free version. Updating to WPForms Pro allows you to access the Fancy Fields and Payment Fields.

5. Customize your notifications and confirmations

Once you’ve named and added features to your form, you can save your progress and move to the next phase.

Move to Settings and select the Notifications tab to configure how and where you receive emails from your users. If you want to use a different email address, you can also change it at this point.

Form notifications

When you’ve configured the notifications, move to the Confirmations section to set up what your users will see after submitting the form.

Change it from the default “Thank you” message to anything you like.

Confirmations

You can also redirect your users to another page or URL if you want them to land on a particular page or a different website. Click on the Confirmation Type drop-down menu and select either Show Page or Go to URL.

Confirmation destination

Just type the URL link in the field below and save it.

After making the necessary changes, you can save your contact form!

6. Add your form to a WordPress page

Once you’ve customized your contact form, it’s time to add it to a WordPress page.

When editing a page, click on the “+” button in the top left and then look for a “WPForms” block on the list. Click on it to add it to your page.

Add a contact form to WordPress page

Select your contact form (Contact Us) and click Add Form.

Pick a contact form to add to the page

Shortly after doing so, a live form is inserted into your text space.

Hit the Publish button and save your page.

Once that’s done, you can open that page to view your new form in all its glory:

A live contact form on a WordPress site

If you’re looking for some further customization, you can set whether you’d like the form to inherit the current theme’s styles or rely on it own styles. To adjust that, go into WPForms → Settings and into the Include Form Styles drop-down:

Base styles of form

For example, if you select “Base and form theme styling,” you’ll see your form displayed like so:

Add a contact form to WordPress with base styles

Further, if you don’t like that space next to the Name and Email fields, you can go into the form settings and tweak those fields to span across the whole available width. You can do that in the Fields tab of the form settings, in Field Options → Advanced. Just select the “Large” option to have the form fields stretch some more.

Setting for stretched form fields

And here’s the effect:

Add a contact form to WordPress that's stretched

You can use WPForms to add a contact form to WordPress not only to your posts and pages but also to your sidebar (as a widget).

Go into Appearance → Widgets. Pick the sidebar you want to add the form to (if you have more than one sidebar), and click on the “+” button at the bottom of the sidebar.

Add a contact form to WordPress sidebar/widget

Look for the “WPForms” block on the list. Once you’ve found it, choose your contact form from the drop-down menu. You can also set the title of the whole section.

Add the form

Check the preview for any errors before selecting the Update button to save your changes.

You can view your contact form from the widgets section or in your sidebar when you visit your website.

A live contact form in WordPress sidebar

8. Send a test email

The last order of business before we can call the whole operation a success is to test if our form is actually working. To do that, you can go back to your contact form page and try sending yourself a message.

Add your name, email, and a quick message before submitting the form. If all goes well, you should see a confirmation on the page itself and also an email containing the message in your inbox.

Email confirmation

(By default, the email address that WPForms will send this message to is the same email address you have set as the admin email on your WordPress site.)

You’ve just learned how to add a contact form to WordPress

At this stage, we’ve gone over all the steps to add a contact form to WordPress. With a contact form, you can finally forget about dealing with email spam resulting from sharing your email address openly on the site.

Most importantly of all, we did all that without touching a line of code!

If you have any questions about the process as we’ve shown it here, feel free to ask them in the comments section below.

Karol K
Karol K

Karol K. is a WordPress figure-outer, blogger, and the author of "WordPress Complete" (Packt/Amazon). Hit him up on Twitter (@iamkarolk) if you'd like to connect.

Articles: 11

Leave a Reply

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