The contact form is one of the most important features of a website. A visitor can contact you through the contact form. Through the form, a visitor sends his email, Phone number and important message to you. For that, a contact form is very essential for both communication or data gathering purposes. So, let’s learn about “How to the setup contact form for your website

  • You need a valid email address using your domain. You can create an email using cPanel or subscribe to our premium mail service or create webmail from your cPanel.
  • For the contact form, you will need to install and activate a contact form plugin. In this case, we will use the “Contact form 7” plugin to create a contact form for our website.
  • After install and active contact form 7, you can see a “Contact” option in your WordPress dashboard. Click on the “contact” link and go to contact form 7 dashboard.
  • In the dashboard, you can see a dummy contact form. You can edit this for your website site or create a new one. In this case, we will be editing the dummy contact form. So hit edits and goes to the next page.
Click on edit
  • On this page, you need to configure your mailing address. To: your admin email address.Form: valid email address using your domain for the contact form subject, Additional headers, Message body is already added by default. If you need to change that, you can do it.
customise the form
  • From this menu bar, you can add more options for your contact form. After you have completed adding your options click the “mail” option.
set sender mail
  • After completing step 6, hit the “save” button and copy this code.
Save & Copy the code
  • Hover your mouse pointer on “page” and click on “add new”
  • Add a page title, click on the text and paste the code
Page setup
  • Finally hit the published button and go to contact us URL
Publish the page

Visit the contact form and fill in all the fields for testing your contact form. If you see any error like “There was an error trying to send your message. Please try again later.” then you need to set up an SMTP email for your WordPress Website. To set up it, read this article on How to set up SMTP email for my WordPress Website?

Error

Leave a Reply