How to manage contact form ? - by lnts - on WordPress WooCommerce support

This topic has 18 replies, 3 voices, and was last updated 9 years, 1 months ago ago by Eva Kemp

  • Avatar: lnts
    lnts
    Participant
    October 8, 2015 at 11:13

    hello
    where in the theme i can add a phone filed to the contact from here:
    http://cliptv.co.il/
    scroll down youll see it

    this is not contact from 7

    thanks

    17 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    October 8, 2015 at 11:58

    Hello

    Please mark up on the screenshot whare do you want to add phone number. You may use this service:http://prntscr.com/.

    Regards,
    Brian Johnson

    Avatar: lnts
    lnts
    Participant
    October 9, 2015 at 06:08

    thanks for the fast replay,
    here: http://nimb.ws/IFt1QG

    Avatar: Brian Johnson
    Brian Johnson
    Member
    October 9, 2015 at 06:53

    Hello

    Sorry for inconvenience. There is no such option in our theme. You may add this field manually in wp-content/themes/royal/framework/theme-fuctions.php from line 1356 and wp-content/themes/royal/framework/shortcodes.php. Please perform all your customization in the Child Theme to prevent overwritting during update. The other way is to use 3-d party plugin.
    Thank you for understanding.

    Regards,
    Brian Johnson

    Avatar: lnts
    lnts
    Participant
    October 10, 2015 at 19:54

    thanks
    can you tell me please what line of code i need to add on the files?

    thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    October 12, 2015 at 09:42

    Hello,

    Please provide us with FTP and wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: lnts
    lnts
    Participant
    October 12, 2015 at 10:46

    see privet content for log in info
    thanks for the suuport

    🙂

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    October 12, 2015 at 13:44

    Hello,

    Wp-admin panel credentials are incorrect.
    Please check them.

    Regards,
    Eva Kemp.

    Avatar: lnts
    lnts
    Participant
    October 12, 2015 at 13:54

    sorry
    try this one

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    October 12, 2015 at 16:40

    Hello,

    I’ve edited the file wp-content/themes/royal/framework/shortcodes.php and added this code in line 256:

    <div class="form-group">
    <p class="form-name">
    <label for="contact-phone" class="control-label"><?php _e('Phone', ETHEME_DOMAIN) ?></label>
    <input type="text" name="contact-phone" class="form-control" id="contact-phone">
    </div>

    and edited the file wp-content/themes/royal/framework/theme-functions.php, added the code $phone = ''; in line 1372, the code $phone = stripslashes(trim($_GET['contact-phone'])); in line 1402 and the code in line 1418:

    if ($phone != '') {
    $body .= " or contact on phone number $phone" . PHP_EOL . PHP_EOL;
    }

    Please check your contact form now.

    Regards,
    Eva Kemp.

    Avatar: lnts
    lnts
    Participant
    October 12, 2015 at 16:59

    thanks a lot
    where i can translate the word PHONE?

    thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    October 12, 2015 at 17:20

    Hello,

    Edit the file wp-content/themes/royal/framework/shortcodes.php in line 256:

    <div class="form-group">
    <p class="form-name">
    <label for="contact-phone" class="control-label"><?php _e('Phone', ETHEME_DOMAIN) ?></label>
    <input type="text" name="contact-phone" class="form-control" id="contact-phone">
    </div>

    Find the code <?php _e('Phone', ETHEME_DOMAIN) ?> and translate the word.

    Regards,
    Eva Kemp.

    Avatar: lnts
    lnts
    Participant
    October 13, 2015 at 13:15

    thanks we got it
    we have another probelm.
    mobile menu is selected but still show the main menu.

    we define 2 menus
    1 – for mobile
    2 – desktop

    we did select in menus for mobile but its not showing.

    also can we have a submenu on mobile?

    thanks for the fast support.

    Avatar: Eva
    Eva Kemp
    Support staff
    October 13, 2015 at 13:50
    Avatar: lnts
    lnts
    Participant
    October 13, 2015 at 14:40

    thanks for the fast replay:
    strange on our end we see the same menu
    http://storage1.static.itmages.com/i/15/1013/h_1444740485_1166098_3b217c7521.png

    maybe its our cash,

    we add some subcategory to the mobile menu
    can you send me a screenshoot to see it its working cause we do the same as the main menu

    thanks alot

    Avatar: Eva
    Eva Kemp
    Support staff
    October 13, 2015 at 14:54

    Hello,

    Unfortunately sub items aren’t shown for me too.
    Please try to update the theme and plugins to the latest version.

    Don’t forget to create back up of your files and database before starting update process!


    (it’s for Legenda theme but the process is the same).

    Regards,
    Eva Kemp.

    Avatar: lnts
    lnts
    Participant
    October 13, 2015 at 15:28

    if we update the theme so we gone lose the contact form changes you did no ?

    Avatar: Eva
    Eva Kemp
    Support staff
    October 13, 2015 at 16:04

    Hello,

    Copy the files shortcodes.php and theme-functions.php to your local PC, then reupload them after theme update.
    Don’t forget to create back up of your files and database before starting update process!

    Regards,
    Eva Kemp.

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

You must be logged in to reply to this topic.Log in/Sign up

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.