Contact Forms with a different map plugin

  • In Progress
    Posted in: Highend WP Theme  
  • Customer
    johnsta
    December 16, 2019 at 1:39 pm #144034

    Hi You helped me to change the default contact map to google easy map which worked but after a number of updates the site has defaulted to the standard map. Ive searched in the appearance/page-templates/contact.php but the code you suggest editing or that I changed does not appear to be there – could you give me some advice or point me in the right direction if Im looking in the wrong spot?

    Regards
    John Stainton

    ***
    You can try modifying the Contact template.
    Go to Appearance » Editor and open page-contact.php file.

    Replace this code:

    <div class=”hb-gmap-map” data-show-location=”-1″ data-map-level=”<?php echo hb_options(‘hb_map_zoom’); ?>” data-map-lat=”<?php echo hb_options(‘hb_map_latitude’); ?>” data-pan-control=”false” data-zoom-control=”<?php echo $hb_enable_map_buttons; ?>” data-map-lng=”<?php echo hb_options(‘hb_map_longitude’); ?>” data-map-img=”<?php echo hb_options(‘hb_custom_marker_image’); ?>” data-api-key=”<?php echo hb_options(‘hb_gmap_api_key’); ?>” data-overlay-color=”<?php if ( hb_options(‘hb_enable_map_color’) ) { echo hb_options(‘hb_map_focus_color’); } else { echo ‘none’; } ?>”></div>

    with:

    <?php echo do_shortcode(‘[google_map_easy id=”1″]’)?>

    ***

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.