Download GDPR Compliance WordPress Plugin in just $9 today.

Hi

As advised via email, the maps does not work on tabs on our website.

The below code you sent via email does not work. I added it to google-maps.php at the end of the file. You did not state were to add it to. Please urgently advise how to resolve this as your updated plugin Version 3.0.5 does not work at the moment. I purchased 3 additional licenses yesterday.

Thanks

add_action( ‘wp_footer’, ‘homepage_map_tab_show’);
function homepage_map_tab_show(){
?>

jQuery(document).ready(function(){
jQuery(‘a[data-toggle=”tab”]’).on(‘shown.bs.tab’, function (e) {
$(map3).data(‘wpgmp_maps’).resize_map();
})
})

<?php

}

You do not have permission to view answers

Please login or Register to Submit Answer