Adding a contact page on your website is a great opportunity to let your website visitors or customers get in touch with you. With our themes we’ve made it easy for you to create a custom contact page by using the included Contact page template and the very popular Contact Form 7 plugin which is very easy and intuitive to handle. In case you want to create a contact page on your website or if you already have created a contact page but encounter any issues, please see our collection of most common issues when creating and using a contact page in WordPress.
- How to create a contact page in WordPress
- How to display widgets on contact page
- Widgets are not displaying on contact page
- How to link contact page in menu
- Contact form is not sending emails
- How to stop spam emails from contact form
- How to customize contact form
- You have not found a solution to your issue?
How to create a contact page in WordPress
In order to create a new contact page in WordPress you can simply create a new page under Pages => Add New in your WordPress dashboard and assign the Contact page template to your new page from within the template dropdown selector in the sidebar. Using the Contact page template ensures that you have a custom sidebar available on your contact page for specific widgets or additional information, other than your regular sidebar.
After you’ve successfully created the contact page, you can add a contact form to your contact page by making use of the popular Contact Form 7 plugin. Simply install the plugin and then you will see a new Contact icon in your WordPress dashboard. You can click on the icon to create/edit your contact form according to the plugin documentation and then copy & paste the shortcode for the contact form to your contact page – that way the contact form will show up and work out of the box.
For more detailed instructions on how to create a contact page in WordPress, please also see the following tutorial: How to create a working contact page in WordPress.
How to display widgets on contact page
When you create a new page in WordPress, the page will display the regular sidebar out of the box where you can place widgets as you like. In case you want to have different widgets in the sidebar of your contact page than you have in your regular sidebar, you can assign the included Contact page template to your contact page.
After you’ve assigned the Contact page template to your contact page, simply navigate to Appearance => Widgets in your WordPress dashboard and place widgets in the Contact widget area. In case you are using the wide layout of the MH Magazine theme with two sidebars enabled, you will have two sidebars available on your contact page: Contact and Contact 2.
Widgets are not displaying on contact page
In case widgets are not appearing on your contact page as expected, please ensure you have placed the widgets in the correct widget locations in your WordPress dashboard under Appearance => Widgets based on the page template you’re using.
If you’re using the default page template that comes bundles with WordPress out of the box, the correct widget areas are Sidebar and/or Sidebar 2 and in case you’ve assigned the custom Contact page template to your contact page, the correct widget locations are Contact and/or Contact 2.
Another reason for your widgets not showing on your contact page might be a conflict with other plugins you are running. In that case please debug your site by deactivating your plugins one by one.
How to link contact page in menu
You can manage your menus in WordPress in your dashboard under Appearance => Menus and you can add menu items to the particular menus as you like. In case you want to link your contact page from the menu, simply add the contact page accordingly and save the settings. For more information about custom menus in WordPress please see: How to create a custom menu in WordPress.
Contact form is not sending emails
In case you are having issues with emails sent by your contact form, the reason for this usually is a misconfiguration in WordPress, within the particular plugin you’re using or an issue on your server. Your WordPress theme usually doesn’t affect this and in case you receive an error after sending emails or in case emails just don’t arrive, please debug your site and/or refer to the particular plugin documentation or the support area of your chosen contact form supplier.
How to stop spam emails from contact form
If you have created a contact page on your website, added a contact form and receive a lot of spam emails through your contact form, you could make use of additional plugins to prevent spam and help protect yourself against spammers. In case you’re using the popular Contact Form 7 plugin, you could for example have a look at the Really Simple CAPTCHA plugin.
How to customize contact form
To customize your contact form, please have a look at the documentation of the particular plugin you’re using or refer to the plugin developer for support. In case you are using the Contact Form 7 plugin, please have a look at their support page for more information about plugin support.
You have not found a solution to your issue?
In case you have not found answers to your questions in this support article, please also take a look at our other support topics, as it is very likely that you will find your answer there. If you have purchased a WordPress theme by MH Themes and have a valid license to gain access to theme updates and support, then you may also send a support request for additional assistance.