Populate Javascript code with value from WordPress Custom Field?
If I were you, I’d store the GPS coordinates in the post meta. Maybe display a meta box on the edit pages, if you want to change it. Otherwise, add the post meta once and forget about it. Then you can use the wp_footer hook to print the javascript with the post meta value as … Read more