Contact page – email address
-
I’m working on a new website. I don’t want the emails submitted on my contact page to come to me. I need them to go to someone else but can’t find a place to insert an email address when I customize my contact page. Can you tell me how to do this?
The blog I need help with is: (visible only to logged in users)
-
Hi Avey,
What type of form are you using in your contact page? Are you using the built-in WordPress contact form or a plugin? If you are using a plugin, which one is it?
Thanks,
mark -
-
Okay. If you edit your contact page, you should see WP shortcode like this.
[contact-form to='(email visible only to moderators and staff)' subject='Enquiry from marklchaves.wordpress.com'][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Website' type='url'/][contact-field label='Comment' type='textarea' required='1'/][/contact-form]Change the to=(email visible only to moderators and staff) to whatever you want.
Let me know if that works.
mark -
Thanks for that info. Unfortunately I’m not able to fine that short code. I was clicking on ‘pages’ on the left hand side of the screen, and then on the contact page I clicked the 3 dots to the right of the word and selected
edit. I clicked the HTML tab and it wasn’t the same as what you typed above. -
Hi Avey,
Hmmm. How did you create your contact form? Did you use an ‘Add Contact Form’ button at the top of your editor? Or, did you create the contact form yourself by writing your own HTML?
Please share the code that you see in your HTML tab so I can take a look. Especially where in between the <form> and </form> tags.
If you are using a plug-in to build your forms, each form plug-in has a way to setup your to and from email address settings.
thanks,
mark -
Hi Mark,
There was already a contact form in the template I started using. All I’ve done so far is delete one of the required fields and have added some text at the top of the page.This is what the HTML tab says:
<p style=”text-align: left;”>Questions or comments? Simply fill out the form below.</p>
[contact-form][contact-field label="Name" type="name" required="1" /][contact-field label="Email" type="email" required="1" /][contact-field label="Comment" type="textarea" required="1" /][/contact-form] -
Hi,
The form is missing some information. The instructions in the tutorial here will show how to set up a contact form and to set the email address. It will include customizing the form in the event you need to capture different information with dropdowns, checkboxes, making a field required, etc.
When you set it up, test out the form to ensure it gets sent out to the person who is to receive the email:
-
Thanks for the link oheyitsdaphne.
Hi Avey,
Just as oheyitsdaphne wrote and what’s documented in the contact-form help page, it looks like you are missing the ‘to’ field.
In the [contact-form] shortcode tag, try adding the following.
[contact-form to='(email visible only to moderators and staff)' subject='Form Submitted']
Swap out the text between the single quotes to whatever you want.
best,
mark
- The topic ‘Contact page – email address’ is closed to new replies.