NiceThemesAdding phone input/label to contact form – NiceThemes http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/feed/ Wed, 23 Apr 2025 15:01:12 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/#post-5251 <![CDATA[Adding phone input/label to contact form]]> http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/#post-5251 Fri, 30 Jan 2015 12:43:02 +0000 SallyAH 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

]]>
http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/#post-5252 <![CDATA[Reply To: Adding phone input/label to contact form]]> http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/#post-5252 Fri, 30 Jan 2015 12:47:35 +0000 SallyAH Just trying to add the lines code from contact form

`
*

`

]]>
http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/#post-5253 <![CDATA[Reply To: Adding phone input/label to contact form]]> http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/#post-5253 Fri, 30 Jan 2015 12:49:27 +0000 SallyAH It does’t work, please see lines 59-62 in the template-contact.php child-theme file.

Kind regards,

Sally

]]>
http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/#post-5254 <![CDATA[Reply To: Adding phone input/label to contact form]]> http://nicethemeswp.com/forums/topic/adding-phone-inputlabel-to-contact-form/#post-5254 Fri, 30 Jan 2015 13:37:18 +0000 Juanfra Aldasoro Hello 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.com

Best,
Juan

]]>