Custom fields with Google Map
-
I’m new to WordPress. The plugins for Google Maps don’t work for this application because they put the map into the content area of wordpress and I need it to be separate from that.
I’ve created a couple of custom fields for latitude and longitude and want to pass those into the Google Map API code. The problem I’m having is that the Google Map API is javascript that runs in the header.php file of my template and is called in the body tag. But this is before the php code that queries the database and gets the particular record needed for this page. So, how can I pass the custom field values to the Google Map API code. Any help would be greatly appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom fields with Google Map’ is closed to new replies.