Access location information for each listing
-
I would like to create a full page map using Google Map API to display all of my listings in one map. All I need is access to each listing’s data, in particular, Latitude and Longitude. I know how to loop through an create an array with all the keys of ‘at_biz_dir’ post types. There is where I get stuck. I haven’t been able to figure out the code so that I can call the post using the post id and get the manual_lat and manual_lng you use on the ‘single_at_biz_dir.php’ template. Where is that variable coming from? How do you access the lat and long data for each post?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Access location information for each listing’ is closed to new replies.