• crerem
    January 6, 2014 at 6:56 pm #16897

    Internal pages – make the map as on home page
    These are general guide lines , this is not tested and future customization may be require

    in libs/googlemapforms.php

    comment line 25 print ‘gmap_not_home” style=”height:295px;”‘;
    comment print ‘is-front’; on line 30 and 31
    comment line 49 print ‘style=”height:295px;”‘;

    in functions.php

    on line 197 wp_enqueue_script(‘googlecode_regular’, get_template_directory_uri().’/js/google_js/google_map_code.js’

    replace google_map_code.js with google_map_code_home.js

    Don’t forget to back your files before

    Vdim
    January 6, 2014 at 9:09 pm #16935

    Hello
    comment line 25 print ‘gmap_not_home” style=”height:295px;”‘;
    comment print ‘is-front’; on line 30 and 31
    comment line 49 print ‘style=”height:295px;”‘;
    Delete this?

    Vadim
    January 7, 2014 at 10:29 am #17066

    Does not work when replace google_map_code.js with google_map_code_home.js
    map stops working

    crerem
    January 10, 2014 at 8:36 am #17800

    to commment the lines use //

    so it will be // print ‘gmap_not_home” style=”height:295px;”‘;

    As i said the modifcations above may not be the only ones requires. Can you post a link so we can take a look ?

    Vadim
    January 10, 2014 at 11:35 am #17813

    homepaq.ru

    Vadim
    January 10, 2014 at 11:37 am #17814

    I mean, what do I do with these three lines
    print ‘gmap_not_home” style=”height:295px;”‘;
    print ‘is-front’; on line 30 and 31
    print ‘style=”height:295px;”‘

    crerem
    January 11, 2014 at 12:03 pm #17988

    Comment those lines – your url is blank

    to commment the lines use //

    so it will be // print ‘gmap_not_home” style=”height:295px;”‘;

    and so on

    • This reply was modified 3 years ago by  Anna.
    crerem
    January 11, 2014 at 12:05 pm #17989

    ok sorry – site is working . Comment those lines and do the replace on google js files

You must be logged in to reply to this topic.

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.