• Resolved Gerdski

    (@gerdski)


    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!

    https://www.ads-software.com/plugins/gigpress/

Viewing 1 replies (of 1 total)
  • Hi Gerdski,

    Thanks for getting in touch with us!

    I don’t think that GigPress is including the maps API at all! I did a quick search in the plugin codebase and also tested this in my local WordPress install but it doesn’t get included.

    Can you try this out with default theme and no other plugins active? If the script is still included, Does deactivating GigPress makes it go away?

    Thanks,
    Nico

Viewing 1 replies (of 1 total)
  • The topic ‘Disable GoogleMaps-Link on front page?’ is closed to new replies.