CodePeople Post Map for Google Maps lets you insert Google Maps into posts or WordPress templates displaying multiple posts. In single posts, it shows a marker for the post’s geolocation and optionally markers for recent posts in related categories. In templates, it displays markers for all posts on
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 3.0.5.
SourceWordPress plugins · Nov 8, 2026
01 / Source details
Aboutthistool.
CodePeople Post Map for Google Maps lets you insert Google Maps into posts or WordPress templates displaying multiple posts. In single posts, it shows a marker for the post’s geolocation and optionally markers for recent posts in related categories. In templates, it displays markers for all posts on the page, highlighting the related post on hover.
Main Features:
► Insert Google Maps at optimal positions or associate geolocation without displaying the map ► Handle large volumes of markers ► Discover related entries via map markers ► Define location by address or coordinates ► Customize markers and info bubbles (including default-open bubbles) ► Embed maps in multiple languages ► Based on Google Maps JavaScript API v3 ► Show markers for posts in the same category ► Customize zoom, size, margins, alignment, map type/language, display mode (full or icon), controls, number of points, and hover class ► Style the map freely
Premium Features:
Load points from specific posts, categories, tags, or all posts
Use location info and descriptions in post search
Associate multiple points per post/page
Draw routes and shapes
Add a search box for places
Create legends with categories/tags/taxonomies to toggle visibility
Add links for directions, opening in Google Maps, or Street View
Display multiple maps per post/page (same points across maps)
Insert maps as sidebar widgets
Group markers in clusters
Show and refresh user location at intervals
Generate dynamic points from image metadata or WordPress App geolocation
Note 1: To display all points that belong to a specific category in the same Google Map, it is required to insert the following shortcode [codepeople-post-map cat="3"] . The number 3 represent the category ID, replace this number by the corresponding category’s ID. To insert the code directly in a template, the snippet of code would be:
Note 2: To display all points that belong to more than one category in a same Google Map, separate the categories IDs with the comma symbol [codepeople-post-map cat="3,5"] . The numbers 3 y 5 are the categories IDs, replace these numbers by the corresponding categories IDs. To insert the code directly in a template, the snippet of code would be:
Note 3: To display all points defined in the website in a same Google Map, use -1 as the category’s ID:
[codepeople-post-map cat="-1"]
or
<?php echo do_shortcode('[codepeople-post-map cat="-1"]'); ?> for template.
Note 4: To display all points that belong to the posts with a specific tag assigned in a same Google Map, for example the tag name “mytag”, use the shortcode’s attribute “tag”, as follows: [codepeople-post-map tag="mytag"] . To insert the code directly in a template, the snippet of code would be:
Note 5: To display the points belonging to specific posts or pages in a same Google Map, enter their ids separated by comma through the “id” attribute in the shortcode as follows: [codepeople-post-map id="123"] . To insert the code directly in a template, the snippet of code would be:
The “id” attribute has preference over the rest of the filtering attributes.
If you prefer configure your map directly from the shortcode, then you must enter an attribute for each map feature to specify. For example:
[codepeople-post-map width="500" height="500"]
The complete list of allowed attributes are:
Very Important. Some of attributes are available only in the premium and developer versions of the plugin.
width: Values allowed, number or percentage. Defines the map’s width:
[codepeople-post-map width="300"]
or
[codepeople-post-map width="100%"]
height: Values allowed, number or percentage (In the web’s development, the height in percentage is effective only if the parent element has a height defined). Defines the map’s height:
[codepeople-post-map height="300"]
align: Values allowed, left, right, center. Aligns the map’s container to the left, right or center:
[codepeople-post-map align="center"]
dynamic_zoom: Values allowed, 1 or 0. Adjust the zoom of map dynamically to display all points on map at the same time:
[codepeople-post-map dynamic_zoom="1"]
zoom: Accepts a number to define the map’s zoom. To apply a zoom to the map, the dynamic zoom should be 0:
[codepeople-post-map dynamic_zoom="0" zoom="5"]
type: Values allowed, SATELLITE, ROADMAP, TERRAIN and HYBRID. Select the type of map to display:
[codepeople-post-map type="ROADMAP"]
language: Values allowed, en for English, es for Spanish, pt for Portuguese, etc. (for the complete list, check the Google Maps documentation). Select a language to display on map:
[codepeople-post-map language="en"]
route: Values allowed, 0 or 1. Draw or not the route between points in a same post or page:
[codepeople-post-map route="1"]
mode: Values allowed, DRIVING, BICYCLING and WALKING. Define the type of route:
[codepeople-post-map route="1" mode="DRIVING"]
show_window: Values allowed, 0 or 1. To enable or disable the infowindows:
[codepeople-post-map show_window="1" ]
show_default: Values allowed, 0 or 1. Display or not an infowindow expanded by default:
markerclusterer: Values allowed, 0 or 1. Displays a cluster with the number of points in an area:
[codepeople-post-map markerclusterer="1"]
mousewheel: Values allowed, 0 or 1. Enables the map’s zoom with the mouse wheel:
[codepeople-post-map mousewheel="1"]
zoompancontrol: Values allowed, 0 or 1. Displays or hide the zoom controls in the Google Maps:
[codepeople-post-map zoompancontrol="1"]
typecontrol: Values allowed, 0 or 1. Displays or hide the type control in the Google Map:
[codepeople-post-map typecontrol="1"]
streetviewcontrol: Values allowed, 0 or 1. Displays or hide the street-view control in the Google Map:
[codepeople-post-map streetviewcontrol="1"]
defaultpost: Defines the post ID, for centring the map, and display by default the infowindow corresponding to the first point associated to this post:
[codepeople-post-map defaultpost="396"]
center: To define the center of the map, but if the infowindows are configured to be opened by default, the map will be centered in the point with the infowindow opened:
legend: Accepts a taxonomy name as value. Some common taxonomies names are: category and post_tag, for the categories and tags, respectively. Displays the legend with the list of elements that belong to the taxonomy and are assigned to the posts associated with the points:
[codepeople-post-map legend="category"]
legend_title: Text to be used as legend title:
[codepeople-post-map legend="category" legend_title="Select the categories to display on map"]
legend_class: Class name to be assigned to the legend. The legend design may be modified through CSS styles. Creates a class name, with the styles definition, and associates the new class name to the legend through the legend_class attribute:
tag: Tags slugs separated by “,”. Displays on map the points whose posts have assigned the tags:
[codepeople-post-map tag="tag1,tag2,tag3"]
cat: Categories IDs separated by “,” or -1. Displays on map the points whose posts belong to the categories. The special value -1, allows display on map all points defined in the website:
excludecat: Categories IDs to exclude, separated by “,”. From points to be displayed on map, the plugin excludes the points whose posts belong to the categories to exclude:
taxonomy: The taxonomy is a special attribute that should be combined with other attributes, depending of taxonomies to use for points filtering. Suppose the website includes two new taxonomies: taxonomyA and taxonomyB, and the map should display all points that belong to the posts with the value T1 for taxonomyA, and T3,T4 for taxonomyB, the shortcode would be:
Note 5: The geolocation information is stored in image’s metadata from mobiles or cameras with GPS devices.
Note 6: Some plugins interfere with the shortcodes replacements, and provokes that maps don’t be loaded correctly, in this case should be passed a new parameter through the shortcode print=1
Passing the parameter print=1, displays the map at beginning of page/post content.
Note 7: To display in the Google Map all points in posts with a specific taxonomy assigned, or multiple taxonomies, should be used the “taxonomy” attribute in the shortcode, with the list of all taxonomies separated by the comma symbol, for example: taxonomy=”taxonomy1,taxonomy2″, and a new attribute for each taxonomy with the values corresponding. For example if you want select the points that belong to the posts with the values: “value1” for “taxonomy1”, the shortcode would be:
Maps in actionStyling the mapsMap with user's locationMap with shapeGlobal maps settingsPoint insertion's formInserting map on sidebarsGenerates points, from the geolocation information stored on image's metadataContact Form Builder (only available in the Developer version of the plugin)Associate the contact form with the point, and define an email address between the point's data (only available in the Developer version of the plugin)Export/Import section (only available in the Developer version of the plugin)CodePeople Post Map for Google Maps screenshot 12
02 / Source details
Gettingstarted.
To install CodePeople Post Map for Google Maps, follow these steps:
01Download and unzip the plugin
02Upload the entire codepeople-post-map/ directory to the /wp-content/plugins/ directory
03Activate the plugin through the Plugins menu in WordPress
03 / Source details
Frequently asked questions.
Q: Why the Google Map shortcode is not inserted on page content?
A: There are some content editors, available as WordPress plugins, that provoke some compatibility issues with WordPress, in this case you should type the shortcode manually:
[codepeople-post-map]
Q: How many Google Maps I can insert into a post?
A: In the free version of plugin only one map with only one point associated in each post/page. In the premium version of plugin it is possible associate multiple points to the post and insert multiple shortcodes ( if there are multiple maps included in the same post/page, all of them will display the same points)
Q: How to insert Google Maps into a template?
A: Load the template in which you want to place the map in the text editor of your choice and place the following code in the position where you want to display the Google maps:
Q: Is possible to load all points that belong to the posts with a tag assigned in a same Google Map?
A: To display all points that belong to the posts with a specific tag assigned, for example the tag name “mytag”, use the shortcode’s attribute “tag”, as follows:
[codepeople-post-map tag="mytag"]
To insert the code directly in a template, the snippet of code would be:
A: The explanation to determine the ID of a category is applied to other taxonomies.
Access to the categories through the menu option: “Posts/Categories”. After accessing to the categories page, click the “Edit” link corresponding to the category, and pays special attention to the parameter “tag_ID”, in the URL on browser. The value in this parameter correspond to the ID of the category.
Q: Is possible to load all points in a category in a same Google Map?
A: To display all points that belong to a specific category, it is required to insert the following shortcode
[codepeople-post-map cat="3"]
The number 3 represent the category ID, replace this number by the corresponding category’s ID. To insert the code directly in a template, the snippet of code would be:
A: To exclude the points that belong to a specific category, or various categories, inserts the attribute excludecat in the shortcode:
[codepeople-post-map excludecat="3,4"]
The number 3 and 4 represent the categories IDs.
Q: How to exclude the points in a post?
A: To exclude the points that belong to a post, or various posts, inserts the attribute excludepos in the shortcode:
[codepeople-post-map excludepost="3,4"]
The number 3 and 4 represent the posts IDs.
Q: How to exclude the points in posts with tag?
A: To exclude the points that belong to the post with a specific tag, or various tags, inserts the attribute excludetag in the shortcode:
[codepeople-post-map excludetag="3,4"]
The number 3 and 4 represent the tags IDs.
Q: Is possible to load all points in more than one category in a same Google Map?
A: To display all points that belong to multiple categories, it is required separate the categories IDs with comma “,”
[codepeople-post-map cat="3,5"]
The numbers 3 and 5 are the categories IDs, replace these numbers with the corresponding categories IDs. To insert the code directly in a template, the snippet of code would be:
Q: If I link geolocation information to a post but do not insert a Google map in it, will the geolocation information be available?
A: If you have inserted a Google map into a template where multiple posts are displayed, then the geolocation information associated with posts is displayed on the map.
Q: How can I disable the information window of point opened by default?
A: Go to the settings of map (the settings page of plugin for settings of all maps, or the settings of a particular map), and uncheck the option “Display a bubble by default”
Q: How can I disable all information windows of points?
A: Go to the settings of map (the settings page of plugin for settings of all maps, or the settings of a particular map), and uncheck the option “Show info bubbles”
Q: How can I use different icons, in the points markers?
A: To use your own icons, you only should to upload the icons images to the following location: “/wp-content/plugins/codepeople-post-map/images/icons/”, and then select the image from the list in the point’s definition.
Q: How can I use particular settings in a map?
A: You may use a particular settings in a map, defining the options directly as attributes of shortcode:
[codepeople-post-map width="100%"]
If you are inserting the map in a particular page/post, you may check the field named “Use particular settings for this map”, and then entering the particular values in the settings options.
Q: Is possible to display the map as responsive design?
A: Yes, that is possible, you only should to define the width of map with values in percent. For example: 100% Pay attention the height definition with percent is not recommended, because it is only possible if the map’s container has a fixed height.
Q: How to get the directions to the point?
A: Go to the settings page of plugin and check the box to display the “Get directions” link in the infowindow. The “Get directions” link will be displayed in the infowindow.
Q: Is possible to include multiple taxonomies in the maps’ legends?
A: In the shortcode can be defined the attribute “legend” for selecting the taxonomy to use in the legend of map:
[codepeople-post-map legend="category"]
but from the version 5.0.6 of the plugin it is possible to define in the legend multiple taxonomies separated by comma, to include all of them in the map’s legend:
[codepeople-post-map legend="category,post_tag"]
Q: How to open the point on Google Maps?
A: If you want to display a link to open the point directly on Google Maps, go to the settings page of plugin, and checks the box to display the link in the infowindow.
Q: Could I insert the map as widget?
A: Yes, you can. Go to the menu option: “Appearance / Widgets” and insert the “CodePeople Post Map for Google Maps” widget on side bar.
Q: My images include geolocation information. Is possible use the geolocaion information stored in the image to generate points on map?
A: Go to the settings page of plugin and select the corresponding option to allow processing the information stored on image’s metadata, and then if an image uploaded to WordPress, includes geolocation information, will be generated a point with this information dynamically, that will be displayed on map.
Q: Why the maps are not showing on website?
A: Some plugins interfere with the shortcodes replacements, and provokes that maps don’t be loaded correctly, in this case should be passed a new parameter through the shortcode print=1 Passing the parameter print=1, displays the map at beginning of page/post content.
Q: It is possible to draw routes for flights between countries?
A: By default Google draws routes between points connected by cars, bus, trains, etc, but not for flights. So, in this case should be used polylines. To connect points with polylines, tick the attribute: “Connect the points with polylines, even if there is not a route between points”, in the settings page of maps.
Q: How can I change the route between address?
A: The route depends on the order of the points. If you want change the route, you should change the order of point. Takes the point by the handle’s icon, and drag it to its correct position in the points list.
Q: What are the differences between routes and polylines?
A: The routes are drawn on maps, only if there are known routes between the locations, based in the travelling mode (driving, walking), but if Google unknown a way between both address, is not able to draw the route. The polylines are straight lines connecting two addresses, even if there is not a route. It is main difference between both concepts, and why the polylines are preferred for representing flights.
Q: Is possible create routes between points in different posts?
A: Yes, it’s possible to draw a route including points belonging to different posts/pages, but in the current version of the plugin would be needed duplicate some points. Visit the following link to our technical blog with detailed instructions:
Q: How can I centring the map in a point defined a specific post, and display its infowindow?
A: Use the “defaultpost” attribute, in the map’s shortcode, as follows:
[codepeople-post-map defaultpost="231"]
The number is the post’s ID
Q: I’ve configured the sizes of the map to be displayed with a responsive design, but the map is not showing
A: To display the maps with a responsive design, you should define the map’s width with percentages (for example 100% if you want that the map width be the same that its container), but PAY ATTENTION, in web development the treatment of the width and height is different. The page width is limited by the browser’s width, but with the height it is not apply. So, you should enter a fixed height(for example 320px).
The only way to define the map’s height in percentages, is if the element that contain the map has defined a fixed height.
Q: Can be inserted a link in the infowindow?
A: It is possible insert links, and any other HTML element in the infowindow. You only should insert HTML tags directly in the point description. For example, to insert a link to our web page: <a href="http://wordpress.dwbooster.com">Click Here</a>
Q: After entering an address, and to press the verify button, the address is modified, and the pin is displayed in a different location of the map
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati