Problem Building a Simple Google Maps Plugin

Wierd, just re-read your comment and looks like your shortcode is working when you call it that early – if the map-canvas div is showing up. here’s the code I tested, also added jquery as a dependency for your custom script & changed some css on you div… function lax_google_map_init() { wp_enqueue_script(‘google-maps’, ‘http://maps.googleapis.com/maps/api/js?sensor=false’); wp_enqueue_script(‘lax_google_map_script’, plugins_url(‘js/lax_google_map_script.js’, … Read more

Locate authors on Google map version 3

If you’d like to show actual address as in street name/number you should use reverse geo coding api https://developers.google.com/maps/documentation/geocoding/#ReverseGeocoding basically its something like http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=false which you should probably on publish/save post (not on every page load). If you just like to show the markers on the map, I did something similar a couple of years … Read more

Run a Parallel PHP Application with WordPress

You can use the WP REST API plugin to add/manipulate/present media of a WordPress install from within your app. The page creation part I am not sure of, perhaps it’ll need to be done manually – or you can create pages via the /pages/ endpoint. I’ll let someone correct me if I’m wrong, but the … Read more

Travel Blog Plugins

I think GeoMashup is the go-to plugin for something like this. http://wordpress.org/extend/plugins/geo-mashup/ I’ve used it for a similar site with great results. There’s a lot to dig into, it’s very flexible, but you’ll definitely be able to get what you want.

Show posts on a Google Map

Lots of ways to proceed here. Here’s one way to do it: Find a JavaScript/jQuery plugin that works with map markers. I used Mosne Map, it’s old but it works. Generate the HTML markup that the above plugin will use. I needed a more user-friendly way to add markers, so I utilized ACF’s Repeater Field … Read more