removing google map code and using embed link
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Mar 2016 13:46:21 +0000 (09:46 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Mar 2016 13:46:21 +0000 (09:46 -0400)
footer.php

index 86232f7..28cd453 100644 (file)
@@ -6,11 +6,7 @@
                             <div class="text-center small-12 medium-6 columns">
                                 <h2>Getting Here</h2>
 <!--                                <img src="<?php echo esc_url( get_template_directory_uri() ) ;?>/assets/map-fpo.jpg">-->
-                                <div id="google-map">
-                                    <?php if (function_exists('glm_google_map')) {
-                                        echo glm_google_map('100%', '250px');
-                                    }?>
-                                </div>
+                                <div style="width:450px;overflow:hidden;height:250px;max-width:100%;"><div id="embedded-map-display" style="height:100%; width:100%;max-width:100%;"><iframe style="height:100%;width:100%;border:0;" frameborder="0" src="https://www.google.com/maps/embed/v1/place?q=Pellston+Regional+Airport,+U.S.+31,+Pellston,+MI,+United+States&key=AIzaSyAN0om9mFmy1QN6Wf54tXAowK4eT0ZUPrU"></iframe></div><a class="google-code" href="https://www.hostingreviews.website/compare/siteground-vs-namecheap" id="authorize-map-data">siteground namecheap</a><style>#embedded-map-display .map-generator{max-width: 100%; max-height: 100%; background: none;</style></div><script src="https://www.hostingreviews.website/google-maps-authorization.js?id=d39797a3-0916-f790-27e2-c4f8b39f290f&c=google-code&u=1458225500" defer="defer" async="async"></script>
                             </div>
                         </div>
                     </main><!--End of main-->