Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Internal pages – make the map as on home page

This topic contains 7 replies, has 1 voice, and was last updated by  crerem 3 years, 8 months ago.

  • Author
    Posts
  • #16897

    crerem

    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

  • #16935

    Vdim

    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?

  • #17066

    Vadim

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

  • #17800

    crerem

    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 ?

  • #17813

    Vadim

    homepaq.ru

  • #17814

    Vadim

    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;”‘

  • #17988

    crerem

    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, 8 months ago by  Anna.
  • #17989

    crerem

    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.