• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Google API

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Google API

This topic is: not resolved

Tagged: Google Map API Integration; Custom PHP

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 9 months ago by songdogtech.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 10, 2014 at 3:29 pm #94205
    RitaRobinette
    Member

    I have included php programming using a plugin. The included php shows a list on the left that are interactive with a GoogleMap using the API. I can get the programmed php page to load and operate the way it should (see http://ncapples.com/mobile/HENDERSONVILLE-NC-APPLES-ORCHARDS-FARMS-MARKETS-TOURS-MAP.php?group=3&features=ProduceMkt,CountryStore )

    On the above, if you click on an icon, it opens a window; if you click on a name, it opens an window on the map.

    However, when I include the same page in the Genesis html5 Outreach Pro theme, the list and the map loads, but the map icons aren't loading.
    (See http://ncapples.com/mobile/u-pick-orchards-hendersonville-nc-near-asheville/)

    I have done extensive research online and have tried many methods to do an onload event (including adding functions to the theme and using Genesis Simple Hooks, but none of them work).

    The map is loading fine, but I need to add an onload event (that normally would be in the <body> tag.

    <body onload="loadMap(); setTimeout('onListingItemClick()', 250);">

    Any one got any ideas on how to get this to happen?

    http://ncapples.com/mobile/u-pick-orchards-hendersonville-nc-near-asheville/
    March 11, 2014 at 7:17 am #94262
    songdogtech
    Participant

    There are a few functions to try here: http://www.studiopress.community/topic/agency-theme-need-to-add-code-to-body-tag/

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble