How to Add a Contact Form to a WordPress Site

How to Add a Contact Form to a WordPress Site

Do you want to learn how to add a contact form to a WordPress site?

Adding a contact form to your WordPress site is an essential step in making it easy for your visitors to get in touch with you. A contact form allows users to submit inquiries or feedback directly to your email without the need for revealing your email address. Fortunately, it’s straightforward to add a contact form to your WordPress site, even if you’re not a developer. There are several contact form plugins available in the WordPress repository, and in this article, we’ll walk you through the steps to install a plugin, create a new form, configure form settings, and add it to your website.

How to Add a Contact Form to a WordPress Site
How to Add a Contact Form to a WordPress Site

How to create a Contact Form in WordPress without Plugin

Creating a form in WordPress can be done with the help of plugins, but it can also be done without the use of plugins.

To create a form in WordPress, you need to first create a new page or post. You can do this by logging in to your WordPress dashboard and selecting “Pages” or “Posts” from the left-hand menu. Then, click on “Add New” to create a new page or post.

Once you have created a new page or post, switch to the Text editor. You can do this by clicking on the “Text” tab on the top right-hand side of the editor.

In the Text editor, you can add the HTML code for your form. You can create the form using basic HTML tags such as <form>, <input>, and <label>. For example, if you want to create a simple contact form, you can use the following HTML code:

<form method="post">
<label>Name:</label><br />
<input type="text" name="name" /><br />

<label>Email:</label><br />
<input type="email" name="email" /><br />

<label>Message:</label><br />
<textarea name="message"></textarea><br />

<input type="submit" name="submit" value="Submit" />

After you have added the form code, click on the “Save Changes” button to save your changes. You can customize the form further by adding CSS code to style the form. You can add the CSS code in the “Customize” section of your WordPress theme.

Creating a form in WordPress without a plugin can be done by following these simple steps. With basic HTML knowledge, you can create any form you want and customize it to fit your needs.

How to create a Contact Form in WordPress Using Plugin

WordPress has many free and paid contact form plugins available, such as WPForms, Contact Form 7, Gravity Forms, and Ninja Forms. We use WPForms on our site and believe it’s the best option in the market. You can install WPForms plugins by going to your WordPress dashboard, clicking on “Plugins” on the left-hand side, and then clicking on “Add New.” Then, search for the plugin you want to use, install it, and activate it.


Once you have the plugin installed and activated, you can create a new form.


Typically, this involves using a drag-and-drop editor to add form fields such as name, email address, message, and any other fields you want to include. WPForms plugins have a pre-built template that you can use as a starting point, or you can create a form from scratch.


After you’ve created your form, you’ll need to configure some basic settings such as the email address where you want form submissions to be sent, the subject line of the email, and any confirmation messages you want to display after the form is submitted.


Once your form is configured, you can add it to your website.


This involves copying and pasting a WPForms shortcode into a page or post, or using a widget to add the form to your sidebar or footer.


Before you publish your form, it’s a good idea to test it to make sure everything is working correctly. Submit a test form and check to make sure the email is delivered to the correct address and that all the form fields are included.

That’s it! You now have a fully functional contact form on your WordPress site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Facebook.

King Michael

King Michael

My name is King Michael. I'm a passionate SEO Expert, Content Editor and Front-end Developer.
My portfolio(kmtechub.com)

Leave a Reply