GMappedLocatedPost

Plugin Banner

GMappedLocatedPost

by Paul Tournemaine

Download
Description

This plugin allows you to :

  • Add a location on the map for the post you want to be shown by clicking on the google map on the post edit page
  • Add the shortcode [googleMappedPosts] on the page in which you want to display your located posts.

Here is a list of parameters for the shortcode:

  • height : give the size in pixel (default 500)
  • nb_post : number of posts shown (default -1 to show all posts)
  • category : the category name from which you want posts to be displayed (default empty for all category)
  • desc : show post in a desc order ( older to newer ), set it to false to change the order (default true)
  • zoom : the google map initial zoom when the page containing the shortcode is loaded (default 10)

All parameters are optional

After activating the plugin, go to the settings page and fill your Google Map Api Key.

see : https://developers.google.com/maps/documentation/javascript/get-api-key

  1. This is the basic usage of the plugin to display a map of located posts

    This is the basic usage of the plugin to display a map of located posts

  2. This is the result (you only see one post here, but there are some more 
that you can access by clicking on buttons)

    This is the result (you only see one post here, but there are some more that you can access by clicking on buttons)

1.1 : you are now able to change the initial google map zoom

Back to top