I am using a Child Theme in WordPress (via GoDaddy) and I am trying to add a Google Store Locator to one of the pages, and then link this to my Database. The code has been taken from Google’s developer website (www.developers.google.com/maps/solutions/store-locator/clothing-store-locator). I have made a few subtle changes to match my database. The code works on XAMPP but no map appears on the WordPress site.
Your approach adding the google store locator is sticking to PHP and MySQL. In my own experience, I usually go for a plugin solution which requires less coding skills and you can place the map and the marker with no difficulty.