CodePeople Post Map for Google Maps
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 Associate maps with any public post_type In non-singular pages, show a map per post Export/import points via CSV or KML Load KML layers from files Developer Features (includes Premium): Design contact forms linked to map points Send notification emails from form submissions Assign unique or global email addresses to points Support Contact Form 7 shortcodes in point descriptions Use point-associated images as map icons Demo Access: https://demos.dwbooster.com/cp-google-maps/wp-login.php https://demos.dwbooster.com/cp-google-maps/ Shorcode Attributes and Plugin Settings 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 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: [codepeople-post-map show_window="1" show_default="1"] 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: [codepeople-post-map center="40.7127837,-74.00594130000002"] 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: [codepeople-post-map legend="category" legend_class="my-legend-class"] 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: [codepeople-post-map cat="2,4,56"] [codepeople-post-map cat="-1"] 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: [codepeople-post-map tag="tag1,tag2" excludecat="4"] excludepost: Posts IDs to exclude separated by “,”: [codepeople-post-map cat="-1" excludepost="235,260"] excludetag: Tags IDs to exclude separated by “,”: [codepeople-post-map excludetag="2,13"] 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: [codepeople-post-map taxonomy="taxonomyA,taxonomyB" taxonomyA="T1" taxonomyB="t2,t3"] 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: [codepeople-post-map taxonomy="taxonomy1" taxonomy1="value1"] for multiple taxonomies: [codepeople-post-map taxonomy="taxonomy1,taxonomy2" taxonomy1="value1" taxonomy2="value2,value3"]. post_type: In combination with other attributes like: cat, tag or taxonomy, it is possible to load on map only the points that belong to the post types in the list: [codepeople-post-map cat="-1" post_type="post,page"] excludepost_type: In combination with other attributes like: cat, tag or taxonomy, it is possible to load on map only the points that do not belong to the post types in the list: [codepeople-post-map cat="-1" excludepost_type="post"] kml: Absolute URL (http://…) to a KML file with the Keyhole Markup Language: [codepeople-post-map kml="http://www.yourwebsite.com/your-file.kml"] If you want more information about this plugin or another one don’t doubt to visit my website: http://wordpress.dwbooster.com/content-tools/codepeople-post-map Interface Google Maps offers several setting options and is highly flexible. Options can be set up in the Settings page (and will become the default setup for all maps added to posts in the future), or may be specific to each post to be associated with the Google maps (in this case the values are entered in the editing screen of the post in question.) The settings are divided into two main groups, those belonging to the Google maps and those belonging to the geolocation point. Google Maps configuration options: Map zoom: Initial map zoom. Dynamic zoom: Allows to adjust the map’s zoom dynamically to display all points at the same time. Map width: Width of the map. Map height: Height of the map. Map margin: Margin of the map. Map align: Aligns the map at left, center or right of area. Map type: Select one of the possible types of maps to load (roadmap, satellite, terrain, hybrid). Map language: a large number of languages is available to be used on maps, select the one that matches your blog’s language. Allow drag the map: allows drag the map to see other places. Map route: Draws the route through the points that belong to the same post (available only in the premium and developer versions of plugin) Travel Mode: Travel mode used in route drawing (available only in the premium and developer versions of plugin) Include Traffic Layer: Displays a traffic layer over the map. Show info bubbles: display or hide the bubbles with the information associated to the points. Display a bubble by default: display a bubble opened by default. Display map in post / page: When the Google maps are inserted in a post you can select whether to display the Google maps or display an icon, which displays the map, when pressed (if the Google maps are inserted into a template that allows multiple posts, this option does not apply) Options: This setting allows you to select which map controls should be available. Display a bundle of points in the same area, like a cluster: Allows grouping multiple points in a cluster (available only in the premium and developer versions of plugin) Display Featured Image by default: Displays the Featured Image in posts and pages in the infowindows, if the points don’t have associated an image. Display the user’s location: Displays a marker with the location of user that is visiting the webpage (available only in the premium and developer versions of plugin) Refresh the user’s location every: Integer number that represent the interval in milliseconds to refresh the user’s location (available only in the premium and developer versions of plugin) Title of user’s location: Enter the title of infowindow belonging to the user’s marker (available only in the premium and developer versions of plugin) Display the get directions link: Displays a link in the infowindow to get the directions to the point (available only in the premium and developer versions of plugin) Display a link to Google Maps: Displays a link in the infowindow to load the point directly on Google Maps. Display a link to Street View: Displays a link in the infowindow to display the street view in the specific point. Enter the number of points on the post / page map: When the Google maps are inserted into a post, points that belong to the same categories will be shown on the same Google map. This option allows you to set the number of points to be shown. When the Google maps are inserted into a template that allows multiple posts this option does not apply. Generate points dynamically from geolocation information included on images, when images are uploaded to WordPress: If the image uploaded to WordPress includes geolocation information is generated a point with related to the geolocation information. Generate points dynamically from geolocation information included on posts: Displays new points on maps, if the post includes geolocation information, generated by WordPress App. Display maps legends: Check the option to display a legend with categories, tags, or custom taxonomies, to display or hide the points on map dynamically. Select the taxonomy to display on legend: Select the taxonomies to display on legend. Enter a title for legend: Enter the title to display in the legend. Enter a classname to be applied to the legend: To customize the legend appearance, associate to it a classname, and set the class definition in any of style files in your website. Highlight post when mouse hovers over related point on map: When the Google maps are inserted into a template that allows multiple posts, hovering the mouse over one of the points will highlight the associated post through assignment of a class in the next setup option. Highlight class: Name of the class to be assigned to a post to highlight when the mouse is hovered over the point associated with that post on the Google map. Use points information in search results: Allows search in the points information ( available only in the premium and developer versions of plugin ) Allow to associate a map to the post types: Allows to associate points to custom post types in website ( available only in the premium and developer versions of plugin ) Configuration options related to the points location Location name: Name of the place you …
Top keywords
- map66×2.62%
- points46×1.82%
- codepeople-post-map41×1.63%
- display36×1.43%
- post33×1.31%
- maps30×1.19%
- google29×1.15%
- posts24×0.95%
- legend21×0.83%
- google maps19×0.75%
- values18×0.71%
- displays17×0.67%
Slick Google Map
A simple, intuitive Google Map / OpenStreetMap plugin that installs as a Gutenberg block and a shortcode. Packed with useful features — geo-mashup of posts, KML overlays, marker icons, address geocoding — and fully free and open source. No subscriptions, no SaaS, no telemetry. Slick Google Map lets you embed maps using either: Google Maps — requires your own API key (configurable per-site). Leaflet / OpenStreetMap — no key required, free tile service. Features: Insert maps via the Slick Google Map Gutenberg block (with a multi-marker repeater) or the [slick_map] shortcode. Classic Editor users get a Slick Map media button above the editor that opens a dialog with the same repeater. Marker geo-mashup — aggregate every post/page that has lat/lng custom fields onto a single map. KML and GPX overlays — drop a track or boundary onto any map. KML works on both providers; GPX is Leaflet-only. Address geocoding — write address="Vienna, Austria" instead of coordinates. Geocoded once per address and cached for 30 days. Uses your Google Geocoding API key if set, falls back to Nominatim/OSM otherwise. Coordinate formats — accepts decimal (48.2082) and DMS (48°12'29.5"N) in any marker. Marker icons — bundled set of 13 modern SVG pins (default, restaurant, lodging, cafe, bar, museum, airport, rail, shop, camera, mountain, castle, religious), plus your own URL. Legacy filenames from the 2014-era plugin are auto-aliased. Map controls — toggle the zoom / map-type / street-view / scroll-wheel / drag controls per map. Layers — Google bicycling and traffic overlays on demand. 45° aerial tilt — passed through to Google as tilt: 45. Only takes visible effect on vector Map IDs, or on satellite/hybrid view over the specific cities where Google has 45° aerial imagery. No effect on raster maps or on Leaflet. Custom Google styles JSON — for branded maps without cloud-styled Map IDs. Wiki-style links in marker titles: [[https://example.com|Display text]] becomes a real link. Compatible with WordPress page caches — no per-visitor state in the rendered HTML, no AJAX side-effects. No fixed-cost dependencies — Leaflet / OSM is free; Google Maps is pay-as-you-go with a generous monthly free tier (≈28k map loads/month at no charge). History: Slick Google Map 1.0 is a rewrite of the original plugin version 0.3, which was itself a fork of the Comprehensive Google Map Plugin by Alexander Zagniotov (2011–2014). Version 1.0.0 is a complete rewrite for WordPress 6.4+ and PHP 8.1+ — see the “Parity & rewrite” section below for what changed. Insert a map via the Slick Google Map Gutenberg block, the Slick Map media button in the Classic Editor, or the [slick_map] shortcode. Optionally aggregate posts/pages that have lat/lng custom fields onto a single map (“geo-mashup”), and overlay a KML or GPX file. Shortcode [slick_map lat="48.2082" lng="16.3738" zoom="13" height="400px" provider="leaflet"] Geo-mashup of posts and pages: [slick_map mashup="post,page"] KML or GPX overlay: [slick_map kml="https://example.com/track.kml"] [slick_map provider="leaflet" gpx="https://example.com/hike.gpx"] KML works with both providers; GPX requires the Leaflet provider (Google’s Maps JS API does not natively render GPX). Markers with addresses and custom icons (nested [marker] children): [slick_map zoom="6"] [marker address="Vienna, Austria" title="Home"] [marker lat="52.5" lng="13.4" title="Berlin" icon="https://example.com/star.png"] [/slick_map] Each [marker] accepts address (geocoded once and cached) or explicit lat/lng, plus optional title and icon. The icon attribute accepts either an https://… URL pointing to your own image, or one of the bundled short names: default, restaurant, lodging, cafe, bar, museum, airport, rail, shop, camera, mountain, castle, religious. Legacy filenames from the 2014-era plugin (1-default.png, museum_naval.png, hotel_0star.png, …) are auto-aliased to the nearest modern equivalent. For geo-mashup markers, set a marker_icon custom field on each post to override the default pin for just that post. Map controls and layers Toggle Google’s built-in UI: zoomcontrol, maptypecontrol, streetviewcontrol, scrollwheel, draggable (all default true). Google-only overlays: showbike="true", showtraffic="true". 45° aerial tilt: tilt="45". Only takes visible effect on a Google vector Map ID, or in satellite/hybrid view over cities where Google has 45° imagery. Ignored elsewhere. Custom Google map styles JSON: styles='[{"featureType":"poi","stylers":[{"visibility":"off"}]}]' (ignored when a Map ID is configured — cloud styling takes precedence). DMS coordinates Marker lat / lng values accept either decimal (48.2082) or DMS form (48°12'29.5"N). Wiki-style links Marker titles support [[https://example.com|Display text]] to embed real links, or [[Plain Page]] for unlinked highlighted text. Geocoding When a Google Maps API key is configured the plugin uses the Google Geocoding API (same Cloud project as Maps; enable Geocoding API alongside Maps JavaScript). Otherwise it falls back to Nominatim/OpenStreetMap. Results are cached in a 30-day transient per address, so each unique address is geocoded at most once. Privacy Using the Google provider loads scripts and tiles from maps.googleapis.com. Using the Leaflet/OSM provider loads tiles from tile.openstreetmap.org and the Leaflet library from unpkg.com. Choose the provider that matches your site’s privacy posture. Parity & rewrite Version 1.0.0 is a complete rewrite of the 2015 codebase. The old plugin’s PHP and JavaScript were written against WordPress 3.6 and PHP 5, used the long-retired Google JSAPI loader, geocoded addresses on every page view, shipped 300+ marker PNGs of mixed provenance, and had several unauthenticated AJAX write paths in wp-admin. Re-issuing it as-is on a modern stack was not viable, so the codebase was rewritten from scratch around the same shortcode vocabulary. What you keep. Posts written against the very old [google-map-v3 ...] shortcode still render. The plugin registers google-map-v3 as a back-compatibility alias that maps the still-useful attributes (width, height, zoom, kml, maptype, addmarkermashup, addmarkerlist, maptypecontrol, zoomcontrol, streetviewcontrol, scrollwheel, draggable, showbike, showtraffic, tiltfourtyfive, styles) onto the new renderer. The Google provider is selected by default for these legacy shortcodes, the old addmarkerlist="addr{}icon{}desc|..." packed format is parsed transparently, and the most-used legacy icon filenames (1-default.png, museum_naval.png, hotel_0star.png, …) are aliased to the bundled modern SVG set. What’s gone for good. Some features can’t come back because the upstream services or APIs disappeared: panoramio — Google shut Panoramio down in November 2016. pancontrol — Google removed panControl from the Maps API in 2017; there is no flag to set anymore. google.maps.KmlLayer — deprecated April 2026; replaced internally with a fetch + KML→GeoJSON renderer. The old https://www.google.com/jsapi loader — retired by Google in 2017; the modern loader requires a user-supplied API key. What’s not yet back. Marker clustering, directions/routing, geolocation marker, and marker drop/bounce animations are reachable from the rewrite but not yet wired up. See PARITY.md on GitHub for the full, categorised list (restored / new / missing-but-doable / deprecated-by-upstream / deliberately-dropped) plus a migration cheat-sheet. What was dropped on purpose. The sidebar widget (Classic Widgets is in long-term legacy mode), the saved-shortcodes admin library (it was the largest single security surface in the old plugin), and the 300+ marker PNG library (replaced with 13 modern SVGs plus a legacy-filename alias map) — see PARITY.md for the rationale on each. Contributors Current maintainer Norbert Preining Original author of the upstream “Comprehensive Google Map Plugin” (2011–2014) Alexander Zagniotov — thanks for the original work, released under GPL. Additional contributors Honza Rameš