Contact Form customized fields - by epottsy

This topic has 4 replies, 3 voices, and was last updated 8 years, 3 months ago ago by Stan Russell

  • Avatar: epottsy
    epottsy
    Participant
    January 24, 2016 at 00:23

    Hello,
    I do have 2 options for using contact form:
    1. Contact – [contact_form]
    2. Contact Us – [contact-form-7 id="691" title="Contact form 1"]
    If I want to customize default contact form fields of royal
    Go to wp-content/themes/royal/framework/shortcodes.php file in line 424 (find the section “! Contact form”) – recently this wrote Mr. Jack Richardson to someone in forum, but I tried to manage for my case and change line 463 ‘website’ filed with:
    <label for=”contact-telephone” class=”control-label”><?php _e(‘Telephone Number’, ETHEME_DOMAIN) ?> <span class=”required”>*</span></label>
    <input type=”text” name=”contact-telephone” class=”required-field form-control” id=”contact-telephone”>
    Then instead Website it appears Telephone Number this is ok, and ones as I fill up all the fields and press send, then go to e-mail and I see all is there but numbers missing, ie telephone number. The same thing happened with if I want to customize contact form fields of Contact Form 7, as you can see there is field Your Telephone Number, which not appears to e-mail ones is filled and sending. You can check both on e-mail which I have provide in private
    Give me some advice please, also I was trying to find some css code for alignment – I wish whatever form to have center position.

    Much appreciated your help

    best regards

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    January 24, 2016 at 09:22

    Hello,

    You also have to edit the file wp-content/themes/royal/framework/theme-functions.php (find the section “Send message from contact form” in line 1385) and replace “website” code with “telephone number” that you created.

    Regards,
    Eva Kemp.

    Avatar: epottsy
    epottsy
    Participant
    January 24, 2016 at 13:45

    nice very good THANKS!
    you are my best wiki

    best regards

    Avatar: stan
    Stan Russell
    Participant
    January 25, 2016 at 08:48

    Hello epottsy,

    you are welcome! We are always happy to help!

    Regards,
    Stan Russell.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Contact Form customized fields’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.