Adding phone input/label to contact form
This support request was posted in Paeon by SallyAH
- SallyAH January 30, 2015 at 12:43 pm
Hey!
So, a new contact form question…
I need to add a phone number field to the contact page (like in the appointments widget).
I have added the following lines to the contact form:
*
>
I also used the functions.php file provided to add custom code. Here I edited the functions that affect the contact page nice_contact_ajax()
nice_contact_js()I do receive the emails, but it doesn’t return the phone number. But I don’t think the customisation functions.php file is working at all.
Also, I need to be able to amend the ‘Thank you for leaving a message…’ to something else. Changing the template-contact.php does not help.
Any help is valuable and vey appreciated.
I have provided details to website where I am testing this.
Cheers!
Sally
SallyAH January 30, 2015 at 12:49 pmIt does’t work, please see lines 59-62 in the template-contact.php child-theme file.
Kind regards,
Sally
Juanfra Aldasoro January 30, 2015 at 1:37 pmHello Sally,
Thanks for writing. I only have the access to the admin area. So, I don’t have access to the files of your child themes. Please do the following:
1. If you want to display some code here, add the link to a gist: (you can create one on http://gist.github.com, you can basically create a chunk of code there)
2. Send me the FTP access details for your site to support@nicethemeswp.comBest,
Juan
You must be logged in to reply to this topic.