Contact Form Modification - by Crealys - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 9 years, 11 months ago ago by Robert Hall

  • Avatar: Ashley
    Crealys
    Participant
    December 15, 2014 at 13:18

    Hi

    I have input the shortcode [contact_form] in my page and the contact form appears coorectly. But I would like to know how I can modify it if I want to add or remove fields and also how to personalize the styles.

    Thanks.

    Ashley

    1 Answer
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 15, 2014 at 15:10

    Hello,

    To edit contact form you need add or remove code in \themes\royal\framework\shortcodes.php file (line 236-266). For example, if you want remove ‘Name and Surname’ filed you need remove or comment out following code:

    <div class="form-group">
    <p class="form-name">
    <label for="name" class="control-label"><?php _e('Name and Surname', ETHEME_DOMAIN) ?> <span class="required">*</span></label>
    <input type="text" name="contact-name" class="required-field form-control" id="contact-name">
    </p>
    </div>

    Regards,
    Robert Hall.

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

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

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