A simple WordPress Google Maps locator plugin
- Install plugin.
- Go to
Locator Map
settings and add your Google Maps API browser key. - Add locations to the configured
Locations
post type. - Add the following shortcode to your page or post
[jbllocator]
JBL Locator adds a custom post type to WordPress to provide easy administration of locations.
Use Really Simple CSV Importer
to import your locations from a CSV spreadsheet.
post_type,post_status,post_title,post_author,email,website,address,lat,lng
location,publish,John Doe,admin,[email protected],google.com,"San Diego, California, USA",32.8248175,-117.375346
JBL Locator provides a simple options page in wp-admin to customize the name, singular name and slug of the locator's custom post type.
.jbllocator {} /* container div */
.jbllocator #jbllocatormap {} /* map div */
.jbllocator #jbllocatorsearch {} /* input search field */