Disable GoogleMaps-Link on front page?
-
Hi there!
It seems to me that GigPress includes a GoogleMaps-link to the header, this one:
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
…even if there are no maps to display, like on the front page.
I’d like to deactivate this link on pages where it is not needed, because it adds to the page load time, especially on the front page of my site.
Is there a plugin option to do this?
If not, I would add a simple PHP statement like
if is_home() { dont_add_map link() }
Where is the Code to add the link?
Thanks a lot!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable GoogleMaps-Link on front page?’ is closed to new replies.