-
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″]’)?>
***
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,515
- Aegaeus WP Theme 1,617
- Requests and Feedback 133