How to configure contact form in one page business pro theme?

One Page Business Pro theme contains a contact form which can be used to receive customer queries.

After submitting the form, a user will see this message, “Thank you for contacting us. We will get back to you within 48 business hours.”. User’s message will be emailed to your website’s email id.

Custom Thank You message for users

How to specify the email address where these forms should be sent to?

1. Login to your website’s WordPress Dashboard and navigate to your Admin Panel to Settings -> General
2. Change ‘Email Address’ to the email id that needs to receive emails via your Contact Form
3. Save Changes.

Specifying email address in contact form

 

How Do I change the default message that shows up when a user fills up the form and clicks on ‘Submit’?

The default confirmation message that shows up when a user successfully submits the contact form is “Thank you for contacting us. We will get back to you within 48 business hours.”.

If you want to change it, you will need to hack the code a little bit.

File to modify: your wordpress folder/wp-content/themes/one-page-business-pro/js/custom.js

For Successful Form Message

Modify line number 24 for mail sent message (success)

document.getElementById(‘success’).innerHTML=”Thank you for contacting us. We will get back to you within 48 business hours.“;

Modify Line number 31 for error message

document.getElementById(‘success’).innerHTML=”We’re sorry, but your message was not successfully delivered. Please call and leave us a message.“;

 

 

Categories: