WordPress Mapping Plugin

The WordPress Google Mapping Plugin allows your site to show locations using Google mapping, showcase featured images from your geo-located posts, present GPX tracks, GPX elevation graphs, record a country against your posts, and much much more…

I like to think this mapping plugin is amongst the very best available for WordPress. But don’t take my word for it, here’s what customers say, “… the price of your script is too cheap …” and “… this plugin is very complete and original.” Plus I’m always on the lookout for new innovative features (and bugs to squash) – so get in contact if you have any you’d like to see.

Example

Here’s a working example of what the plugin can achieve for your site:

switch Current Location

(or click a marker to set)

Navigation steps will show here...

For reference the shortcode used to generate this map is:
[post_map type="ROADMAP" zoom="9" current="on" link="off" style="width: 100%; height: 400px; border: 1px solid lightGray;" all="on" weather="on" temperature="C" traffic="on" directions="on" distance="M" panel="on" photos="no" fullscreen="off"]

Example GPX Trace Map

Staveley Geo

For reference the markup used to generate this map is:
<a href='/blog/wp-content/uploads/2013/09/Staveley-Geo.gpx'>Staveley Geo</a>

Buy the Plugin

Buy the enhanced Post Country Plugin here!

Post Country Plugin

[SKU23496] £19.50 (Shipping £0.00)

Approximately one hour after payment your plugin will be emailed as a compressed ZIP to you PayPal payment address.

Features

The list of features is extensive:

marker Using the Location section (you may alter the title of this section) of the WordPress post editing page to create and manage your location data. You may:

  • Select the Country you want to tag the post with from the country drop-down. For example, to get a UK flag UK select UK from the drop down.
  • Tag posts with one or more sets of latitude & longitude for mapping. Each of these locations may optionally have a label, e.g. “A Wonderful Hotel”. If no label is given the post title will be used. Locations can also be given a specific marker using the marker drop-down.
  • To simplify the editing page it is also possible to hide and show the map.
  • Search for locations using geo-location by address, place name, etc.
  • Place markers on the map simply by clicking a location. A new yellow marker is shown: marker. This marker may be dragged to a new location.
  • You may also elect to stop a particular post’s locations being mapped by checking the do not display location on map box. Note that blog administrators can also elect to block the display of specific posts.

There are more details for editing your locations available here:

marker Free upgrades for life!. As the plugin gains more features you can be sure you will always have access to those features without any additional cost.
slideshow Automatically play a random slideshow of featured images from your geo-located posts and venues. The map pans dynamically to show the location marker of the post for each image.
marker Record the latitude & longitude of one or more locations against your posts.
Using the add and remove buttons allow additional locations to be added or removed. (Remember to click the arrow icon to set the focus of geo-location.)
marker The plugin has several advantages over other WordPress mapping plugins. For example, it doesn’t unduly load your web server, making full use of the power of the user’s browser. This also makes content more interactive, for example hovering over elevation graphs shows the data at that point of the graph dynamically.
marker Weather and Clouds layers may be shown on maps. The temperature scale, °C or °F, may also be set.
marker Get directions between two locations on a map. The directions features allow you to travel from any point marker to point marker. Just type the location names, e.g. “London” to “Cambridge”. You can also use your “Current Location” (note some browsers won’t support this) as a start point and travel to any of the markers on your map by clicking any marker to set the end point. Tick the show navigation step markers checkbox and a series of markers will be added to the route to provide step by step navigation instructions. You may also opt to show the navigation steps below the map with the panel shortcode parameter.
marker Google’s Traffic layer may be displayed to provide extra information to help plan your routes.
marker Posts with location data are highlighted with an indication of the quality of the location data: geo-data-ok – the Latitude & Longitude are OK; geo-data-incomplete – only one Latitude or Longitude value is provided; geo-data-stopped – the Latitude & Longitude are OK, but the administrator has blocked plotting.
marker Automatic clustering of map markers at lower zoom levels to de-clutter the map. Clusters are shown with colour coded icons: cluster cluster cluster cluster cluster. The hotter the colour the more markers are clustered.
marker Provide a table of locations associated with a post using the shortcode [locations_table]. There is one optional parameter title. This is the title to display before the table of locations (default is Venues or your customised name).
marker The plugin remembers the last map-type (ROADMAP, SATELLITE, HYBRID, or TERRAIN) shown.
marker The size, position, etc. of each map on your pages is customisable using CSS settings (defaults are initially provided).
For example, within the [post_map] shortcode you may want to force a certain style such as have the map shown with a green border (style=“border: 2px solid green;”). Whereas your theme may normally be asserting a grey, black, or another border colour.
Note, the options page provides fields to enter CSS for each type of map (VENUE, POST, GPX, and ELEVATION). If your WordPress theme does not immediately show the maps it is essential that this CSS sets, as a minimum, the size of the canvas. Try something like: width: 100%; height: 300px; border: 1px solid #ddd; margin: 5px; to kick-off.
marker Within the WordPress post editing form you may search using geo-location by address, place name, etc.
marker Hovering over any marker on the map quickly shows a popup of that marker’s name. While clicking the marker will show a summary popup for the marker including: post title, excerpt, and country. Featured image thumbnails can also be optionally included in the popup summary.
marker A limitation of Google mapping is that each map-type has a maximum level of zoom. For example, the most limited level of zoom is often found with the TERRAIN style of map. Switching to SATELLITE may allow a higher level of zooming, especially in popular urban areas like cities. However, regardless of map-type, sooner or later it will be impossible to zoom the mapping any further. At this point if you have multiple locations mapped the clustering of the markers will be impossible to resolve. The plugin deals with this problem by offering a tabbed summary popup, one tab for each location. Just click on the cluster to see the tabs.
marker Make use of a number of template tags to optionally integrate mapping in to your site. These are:

  • To including linked country icons: country_tag($post_ID, $short=true, $prefix='Location ', $size=15, $echo=true);
  • To include a popup list of countries: country_list_countries();
  • Location map links: get_map_link($anchor_text, $post_ID='');
  • Venues button: the_map_sidebar_link($before_HTML, $after_HTML);
  • Show a link to all venues: get_venues_link();
    Use this template function or have the plugin automatically include a link on any page of post with <!-- venues-link -->.
marker Upload GPX files, say from your GPS device, to automatically show the tracks. This simple yet powerful mechanism allows uploaded GPX files to automatically show the trace of a route.
GPX files may be uploaded using the normal WordPress media upload and then embedded within a post. For example, using this markup, <a href='http://your-domain/path/file.gpx'>GPX Data</a>, will automatically present a Google map showing the route described by the GPX file.
The GPX trace will show any named waypoints with a small green marker – waypoint. If the post that the GPX is shown in has location data the location will be shown with a purple marker – post-marker.
Accompanying maps of GPX tracks, graphing of the elevation along the path of the track may be displayed. Graphs are built dynamically by the user’s browser (so unlike some other plugins they do not cause lots of PHP processing on your server or blow PHP’s memory limits). You may suppress the elevation graph for a specific track by including elevation='off' in the markup. For example, <a href='http://your-domain/path/file.gpx' elevation='off'>GPX Data</a>
marker If your browser supports it, and you have allowed your browser to share your current location, the plugin can show where you are currently located. The marker for this is: marker This may be useful when writing posts, or just on one of your pages to show your users where they are.
Of course it’s also super useful to get directions from where you are now to one of your marked locations using the navigation directions feature described above!
marker Within the WordPress “visual” and “text” editors a shortcode for [post_map] can be quickly inserted using a quicktag button. In the “text” editor the button is button and in the “visual” editor the button is .
There are several more additional parameters that can be added to the shortcode:

  • type="ROADMAP|SATELLITE|HYBRID|TERRAIN" the type of map shown.
  • zoom="11" the map zoom level (for non-current location maps).
  • location="latitude,longitude" e.g. 54.457,-3.026. If omitted, the post location is used if set.
  • loc_name="name" a location label, e.g. North Pole.
  • current="on|off" show, and center on, your current location.
  • link="on|off" show Venues link, defaults to the Include link to Venues map option.
  • style="CSS" CSS styling, defaults to the main post_map CSS value.
  • all="on|off" show all post and venue locations.
  • photos="on|off" show geo-tagged photos attached to this post.
  • weather="on|off" map control to show weather (and cloud cover) information.
  • temperature="C|F" use °C or °F, defaults to Weather layer setting.
  • traffic="on|off" map control to show traffic information.
  • directions="on|off" enable the navigations between points “A” and “B” feature.
  • distance="M|I" use metric or imperial units in directions.
  • panel="on|off" with directions enabled, show a panel of navigational steps.
marker Support for mapping of JPG photographs with geo-tagged EXIF data. The EXIF location data may have been added to the photo’s meta-data automatically when the picture was taken by a GPS enabled camera, manually, or by photo management software like Adobe’s Lightroom or Apple’s iPhoto.
Thumbnails of the photos are shown in a popup when hovering over photo markers.
However, please note that a default WordPress installation does not preserve EXIF data when uploading and scaling images. Therefore the plugin will not have access to location meta-data in photos uploaded before the plugin was installed and the Save image location data option was set. Photos that have had their geo-tagged location data successfully read will show a tick (geo-data-ok) in the Geo Tag column of the WordPress media library list.
Venues
For reference the shortcode used to generate this map is:
[post_map type="SATELLITE" style="width: 100%; height: 250px; border: 1px solid lightGray;" all="off" photos="on" traffic="off" weather="off" directions="off" link="on" search="on"]
marker Associate post categories with your custom markers so that all posts in a certain category are shown on the map with that marker. (Note, if a post is tagged with more than one category the first is selected.)
marker A sidebar widget providing navigation to posts from a given country. The widget has a single option, one of your WordPress pages. When set to one of your pages a link is shown under the popup list of countries that links to that page. Typically on that page you will use the [venues_map] shortcode to display a map showing all of your location data.
marker A special page available in the WordPress administration menu to review numbers of posts from each country.
marker The Venues Map Page options allows configuration of whether location data, for posts and/or venues, are included in the standards compliant Geo RSS feed generated by the plugin. (Note, add ?feed=venues to your blog’s main URL to access the location RSS feed. You may wish to use this to submit geo content to Google as a geo site map.)
marker Posts (and Venues) can be tagged as being associated with a country. The flags of 77 countries from Australia Australia to Wales Wales to the USA US are included. So, for example, you might tag: the country that the post writes about; where your last great holiday was; a business trip; or event took place in; the location you are writing the post from; etc. Your imagination is the limit!
Country icons can also be clicked to list all posts from that country.
Of course you may also add to (or delete form) the flags provided to customise your installation. The flags are in the wp-content/plugins/post-country/Flags/ directory.
marker For Venue posts flags can also be used as markers on the map.
So for example it’s easy to create a series of posts (Venues), marked on the map with flags, for all the countries you have visited.
marker A number of customised markers are included. Examples of these have been used as the bullets in this list!
Plus, the Adobe Photoshop template (PSD) used to create new custom markers is included.
marker And finally, I am always keen to extend the plugin’s capabilities, so why not ask for more features. You never know they might well get added, and as there’s a promise of updates for life what have you got to lose… 😀

 

Other Plugins

Many of the plugins, widgets, and other extensions used on this site have been designed and developed specifically. I’m quite (modestly) pleased with them. 😳 Why not use them on your WordPress powered site too? Many of these extensions are free. Please consider, especially if you are using one of the free plugins, a donation to aid on-going development if you find them useful. 😉

:star: Why not check out my other WordPress plugins too! :star:

WordPress Post Country Plugin
(with premium Google Mapping)

This plugin allows you to record a location against your posts. For example the country that the post talks about, the event took place in, the location you are writing the post from, etc. Your imagination is the limit…

Some of the key features are:

  • Once a post is tagged with a country the plugin allows flag icons to be added to your blog’s pages with simple additions to your template files.
  • You may also record the latitude & longitude of a location. The enhanced version of the plugin provides multiple ways to display the location using Google mapping.
  • Country icons can be clicked to take the user to posts from that country.
  • A sidebar widget that provides a popup to navigate to posts from a given country.
  • Presents an admin page, under the WordPress Tools menu, to review numbers of posts from each country.

I’m quite pleased with the plugin, so it’s available to share, I hope you enjoy it too. 😳

post-listing
1. A screenshot showing posts tagged with country flag icons.

The plugin is available as a free download.

All I ask is that you credit the plugin, for example, include a link to this page or maybe add a link to your WordPress blogroll.
Or, perhaps please consider purchasing the enhanced version below…

:star: Why not check out my other WordPress plugins too! :star:

Instructions & Installation

  • Just put the complete un-zipped plugin directory into your WordPress plugin directory (if this doesn’t make sense it probably isn’t something you should be trying 🙂 ) and activate it.
  • Within the WordPress loop, use this country_tag($post->ID); in your index.php template file to show a post’s country tag.
  • And this country_tag($post->ID, false); in your single.php template file to show the post’s country tag.
  • Note, you’ll need this gobal $post; declaration in your template files too if it’s not already there.
  • The second parameter (the default true, or false) determines if it is a short or long output:
    • Long – Location Australia Australia
    • Short – USA
  • The widget has a single option, one of your WordPress pages. When set to one of your pages a link is shown under the popup list of countries in the widget. Following the link goes to that page – where you might show a list of countries featured on your blog, or a map! A map is easily created with the enhanced version of this plugin.
  • You can also include the same popup list of countries used in the widget on your pages by adding this country_list_countries(); to your theme’s template.
widget-options
2. Countries widget options.

How to Tag a Post with a Country

Using the Location section (you can set the title of this section with the first of the plugin options, see below) of the post writing page. Select the Country you want to tag the post with from the country dropdown. For example, to get a UK flag UK select UK from the dropdown.

The country names provided are the names of the icon files in the directory:

wp-content/plugins/post-country/Flags/

Feel free to add additional flag icon files or remove those you don’t want to see listed in the dropdown.

Premium Version of the Plugin with Mapping

The standard plugin allows Latitude & Longitude to be stored along with the country tag. Google mapping is available with an enhanced version of the plugin available to buy below. An example of the mapping is given here showing dozens of mapped posts and venues.

The enhanced plugin provides several advanced mapping interfaces and features.

  • Within the WordPress post writing interface a sophisticated interface (including geo-location by address, place name, etc.) to create and manage the location associated with posts. This interface is shown in screenshot #3 below.
  • A public map for your blog readers to enjoy that shows all the mapped posts and venues (more details below about the venues feature). An example of the mapping is given here showing dozens of mapped posts and venues. The map is automatically inserted by the plugin on any page or post with <!-- adventure-map -->.
  • Show a location map on a post page (when the post has location data). Include a post map with the shortcode [post_map] and optionally set the map-type to ROADMAP, SATELLITE, HYBRID, or the default TERRAIN and zoom level (default 11) with [post_map type="SATELLITE" zoom="14"]. Please see Post Locations below for more options and functionality.
  • The plugin remembers the last map-type shown (using a cookie).
  • Several markers are used on the mapping, the default colours are:
    1. Posts are shown with a blue marker – post-marker.
    2. Posts with GPX data are shown with a purple marker – post-marker.
    3. Named waypoints in GPX tracks are shown with a green marker – waypoint.
    4. Venues are shown with a red marker – venue-marker.
    5. Additional maps embedded within posts showing other locations are shown with a green marker – additional-marker.
    6. When creating location data new locations are shown with a yellow marker – new-marker.
  • In addition to the default markers, there are a number of custom markers included. Add to these as you like, the new markers go in the plugin’s markers directory. There’s even an included Photoshop template (.PSD). The included markers are:
    markermarkermarkermarkermarkermarkermarkermarkermarkermarkermarkermarkermarkermarkermarkermarker
  • A simple yet powerful mechanism to allow uploaded GPX files (e.g. from a GPS enabled device) to be automatically represented with Google mapping showing the trace of a route. These routes may also be accompanied with a graph showing elevation along the route.
  • A number of template tags are provided to optionally enhance your WordPress theme:
    1. To including linked country icons: country_tag($post_ID, $short=true, $prefix='Location ', $size=15, $echo=true);
    2. To include a popup list of countries: country_list_countries();
    3. Location map links: get_map_link($anchor_text, $post_ID='');
    4. Venues button: the_map_sidebar_link($before_HTML, $after_HTML);
    5. Show a link to all venues: get_venues_link();
      Use this template function or have the plugin automatically include a link on any page of post with <!-- venues-link -->.

The plugin has several advantages over other mapping plugins. For example, it doesn’t unduly load your web server, making full use of the power of the user’s browser. This also makes content more interactive, for example hovering over elevation graphs shows the data at that point of the graph dynamically.

The following screenshots give a flavour of the plugin’s rich capabilities. The size, position, etc. of each map on your pages is customisable using CSS settings (defaults are initially provided), please refer to the options screenshot #13 below.

Post Editing

The following screenshot shows the location editing interface within the WordPress editor. As well as adding a country flag attribute to posts, add Latitude & Longitude either manually (click the location on the map) or use geo-location (address, place name, etc.). The new location marker (new-marker) can be dragged around the map to achieve an accurate position.

The location’s map marker can also be changed from the default using the marker drop-down list.

The multiple location plugin option (see screenshot #13 below) allows multiple locations to recorded for each post. When enabled the add and remove buttons are shown. Click the arrow icon to set the focus of geo-location, dragging the new location marker, and map clicks.

location-box
3. The post editing Location section.

The Country column of the post listing (screenshot #1 above) is enhanced when location data is given. Posts with location data will have Geo and an indication of the quality of the data:

  • Geo: geo-data-ok – the Latitude & Longitude are OK.
  • Geo: geo-data-incomplete – only one Latitude or Longitude value is provided.
  • Geo: geo-data-stopped – the Latitude & Longitude are OK, but the administrator has blocked plotting.

Multiple Markers at Maximum Zoom

A limitation of Google mapping is that each map-type has a maximum level of zoom. For example, the most limited level of zoom is often found with the TERRAIN style of map. Switching to SATELLITE may allow a higher level of zooming, especially in popular urban areas like cities. However, regardless of map-type, sooner or later it will be impossible to zoom the mapping any further. At this point if you have multiple locations mapped the clustering of the markers will be impossible un-cluster. This plugin deals with this problem by offering a tabbed popup, one tab for each location. Just click on the cluster to see the tabs. (The popup will be un-tabbed when clicking on a single marker.)

multiple-locations
4. Multiple location tabs.

This example also shows how feature image thumbnails can be optionally included in the popup summary about a location (see the display icons option in screenshot #13 below).

Custom Markers

Alongside the default markers described above there are three ways to set custom markers:

  1. Venues may use their country flag as their map marker (see options screenshot #13 below).
  2. Custom markers can be set for individual posts (see screenshot #3 above).
  3. Or you may set a custom marker for a post category. The enhanced post category editing page provides this function.
edit-post-categories
5. The post category editing page.
edit-post-categories
6. List of categories showing custom markers.

GPX Tracks & Elevation Graphs

Upload GPX files, say from your GPS device, to automatically show the tracks.

gpx-file-trace
7. An uploaded GPX file automatically shown with mapping.

The GPX trace will show any named waypoints with a small green marker – waypoint. If the post that the GPX is shown in has location data the location will be shown with a purple marker – post-marker.

Accompanying maps of GPX tracks, graphing of the elevation along the path of the track may be displayed. Graphs are built dynamically by the user’s browser using Google Charts (so unlike some other plugins they do not cause lots of PHP processing on your server or blow PHP’s memory limits). Here’s an example of the graph that accompanies the track above.

gpx-elevation-graph
8. A graph of elevation associated with an uploaded GPX file.

GPX files may be uploaded using the normal WordPress media upload and then embedded within a post. For example, the following simple markup will be automatically presented with a Google map showing the route described by the GPX file.

<a href='http://your-domain/path/file.gpx'>GPX Data</a>

If enabled (see options below) an elevation graph will be automatically included. However, if you want to suppress the elevation graph for a specific GPX track include elevation='off' in the markup. For example:

<a href='http://your-domain/path/file.gpx' elevation='off'>GPX Data</a>

Post Locations

Posts can show their location on a map. The map is easily embedded within the post with the shortcode [post_map] and you can optionally set the map-type to ROADMAP, SATELLITE, HYBRID, or the default TERRAIN and the zoom level (default 11). For example, [post_map type="SATELLITE" zoom="14"] will show the location associated with this post on a satellite map at zoom level 14.

The shortcode can also be inserted using quicktag buttons. In the WordPress HTML post editor the button is button and in the Visual editor the button is .

post-location-map
9. Example post location map.

There are several more additional attributes that can be added to the shortcode to show any number of other locations within posts. These are: location – a latitude & longitude comma separated pair; loc_name – a name for the new location; link – override the Include link to Venues map option; style – override the post_map CSS option; and current – show the current location. For example you might show a place of interest with:

[post_map zoom='16' type='SATELLITE' location='54.339,-2.743' loc_name='Playing Fields']

location-map
10. Example additional location map.

Show your current location (if your browser allows it) with:

[post_map zoom='16' type='ROADMAP' current='on' style='width: 400px; height: 200px; border: 1px solid #ddd;']

Venues
11. Show your current location - if your browser allows it!

Provide a table of locations associated with this post using the shortcode [locations_table]. There is one optional parameter title. This is the title to display before the table of locations (default is Venues or your customised name).

Geo-tagged Photo Mapping

The plugin also supports mapping of photographs (JPG images only) with geo-tagging EXIF data. The EXIF location data may have been added to the photo’s meta-data automatically when the picture was taken by a GPS enabled camera, manually, or photo organising software such as Adobe’s Lightroom or Apple’s iPhoto or Aperture.

geo-tagged-photos
12. Mapping showing geo-tagged photos.

Note, a default WordPress installation does not preserve EXIF data when uploading and scaling images. Therefore the plugin will not have access to location meta-data in photos uploaded before the plugin was installed and the Save image location data option was set. Photos that have had their geo-tagged location data successfully read will show with a Geo Tag in the WordPress media library list as shown.

An example of the WordPress Media library list showing geo-tagged images
An example of the WordPress Media library list showing geo-tagged images

Main Location Map & Options

Using the enhanced mapping features within a post is easy and highly flexible. Using the mapping is explained more here.

Mapping of all tagged posts (and Venues, see below) can be presented to your users on a nominated page. (The blog administrator can elect to not display the location of specific posts even when latitude & longitude values have been supplied.) Here’s an example location map. The page used to display the map is defined on the plugin options page. That page should have the following simple code within its text to show the map.

<!-- adventure-map -->

Note, the options page also provides a field to enter the CSS for the map canvas. It is essential that this sets, as a minimum, the size of the canvas. To kick-off try something like:

width: 600px; height: 450px; border: 1px solid #ddd; margin: 5px;

options
13. Options.

There are seven sets of options:

  1. Plugin – general plugin options including the title of the editing box, if the map should initially be shown or hidden on the WordPress post editing page, the scope of searches, etc.
  2. Venues Map Page – the page and style used to display the main venues map.
  3. Post Map – how maps are embedded, with a shortcode, in posts.
  4. Images – options to allow and show geo-tagged images to be mapped.
  5. GPX Processing – control processing of GPX files attached to posts.
  6. Elevation Chart – control elevation charts associated with attached GPX files.
  7. Markers – define the colours of the default markers used by each type of map, and also enable custom markers for venues and posts.

Geo RSS Feed

The Venues Map Page options allow configuration of whether location data, for posts and/or venues, are included in the standards compliant Geo RSS feed generated by the plugin. (Note, add ?feed=venues to your blog’s main URL to access the location RSS feed. You may wish to use this, for example, to submit geo content to Google as a geo site map.)

Venues

In addition to tagging posts with country and latitude & longitude for mapping the enhanced plugin provides a special type of post – Venue. These are great for recording specific details about specific locations. For example, a page of information for each country, or a page of details (e.g. pubs, clubs, and hotels) about a particular city. Venues are a blend between standard WordPress pages and posts. Venues are accessed from the new Venues menu. (Note that the list of countries moves with the enhanced version of the plugin from the WordPress Tools menu to the Venues menu.)

venues-menu
14. The new Venues menu.

Buy the Enhanced Plugin with Google Mapping

Buy the enhanced Post Country Plugin here for an insanely cheap price!

Buy the plugin and I will provide free updates forever as the plugin gets more and more features…

FAQ

  • Are Google Map Controls failing to render properly?
  • Often WordPress themes makes a common mistake that stops Google mapping controls from being drawn properly. This is because the theme forces sizing for all images. I have suggested a fix for this with an alteration like the one I recommend on this Stack Overflow post. Just add the suggested CSS rule to your theme’s style.css, however, even then some themes have CSS rules that take precedence. In these cases I suggest you either get stuck in to working out the CSS in your theme, or you could try applying a sledgehammer (!important)...
    .gmnoprint img { max-width: none !important; }
  • Post editing only showing a single marker?
  • Make sure you have enabled the inclusion of Posts and/or Venues in the Venues Feed. These are two separate checkbox options available on the plugin's settings page, under the Venues Map Page section.
  • Are your geo-tagged photos failing to show on post maps?
  • Unfortunately some geo-tagged photos are not recognised by the underlying PHP read_exif_data function. This bug is trapped to allow the image to upload properly, but the latitude and longitude data for the image won't be captured by this plugin. You will know if your image has a faulty set of geo-tagging data as the WordPress media list will not show the image as geo-tagged. As soon as there is a fix for this PHP bug - either in a later release of PHP or by using some other geo-tagging information extraction mechanism - a new version of the plugin will be issued to all users.
  • Can I add GPS location data to JPG images manually?
  • If you digital camera (or smartphone) does not have the ability to tag photos with GPS location data it is possible to manually add the location meta data yourself using photo manipulation software like Adobe Lightroom. There other free tools too like Google’s Picasa (although I haven’t tried any of the free tools). Note, GPS data is embedded inside the JPG image file’s meta data.

Version History

Enhanced Plugin:

  • 18 Directions.
  • 17 – New short code ([locations_table]) to provide a table of locations.
  • 16 – Allow a custom name for “Venues”, e.g. “Locations”.
  • 15 – Post maps can show geo-tagged photo locations for all JPG images attached to a post.
  • 14 – Added option to center administration map on current location.
  • 13 – Include option to show featured image thumbnails in venue information bubbles.
  • 12 – Allow multiple markers at the exact same location.
  • 11 – Multiple locations per post.
  • 10 – Finished custom marker release – venues can use flags, posts and categories can have custom markers.
  • 9 – Options to select marker colours.
  • 8 – Include Venues (and/or Pages) in search results.
  • 7 – Added drag-zoom feature to venues page.
  • 6 – Internationalisation.
  • 5 – Option to include a map within a post page.
  • 4 – Mapping & GPX tracks.
  • 3 – Venue post-type to record location, beta, facts, links, etc. for given locations.

Standard Plugin:

  • 2 – Version without mapping and new Enhanced version with mapping.
  • 1 – Initial version.
With regret comments are closed on this post to avoid being deluged with “how to” queries and not genuine issues with the plugin. So, if you want support or advice use the feedback link. But please note I will ask for a donation before I’ll look at “how to” questions, I can’t teach PHP programming for free.

Avatars Plugin

New Version (v11.1), released August 2012

WordPress (from version 2.5) includes native support for global avatars. Great! 🙂 But, what about adding local (private) avatars for your users? Maybe your users don’t want a global avatar, aren’t IT savvy enough to set a Gravatar up, simply want a private avatar for your blog, or any other reason too… More “Avatars Plugin”

Simple Archive Plugin

The theme (look and feel) used for Sterling Adventures has been developed with lots of love and care! Although it probably still isn’t anywhere near perfect (or even working in some places – software is never bug-free), but I am fairly proud of it. 😳 So, I think some of it is now at a point where it’s worth shouting about, and possibly sharing…

One feature of the site is a very simple (to use and configure) plug-in to generate a list (by category) of all posts. It’s simple because there is no fancy formatting, complex configuration or other ‘noise’, just a sensible archive of all posts! All that’s required is to include <!-- simple_archive --> on a page or post… How simple is that?

Categories can he sorted alphabetically or by creation order, while posts are listed chronologically.
Also categories can be hierarchically listed.

The plug-in is available as a download here.

All I ask is that you credit the widget (i.e. include a link to this page) on your blog.

:star: Why not check out my other WordPress plugins too! :star:

Instructions:

  • Just put the plug-in into your plug-in directory (if this doesn’t make sense it probably isn’t something you should be trying 🙂 ) and activate it.
  • Then include <!-- simple_archive --> on a page or post to have your simple archive.
  • There are a few options, which are self explanatory, just visit Options » Simple Archive (note from WordPress 2.5 this is Settings » Simple Archive) in WordPress’ administration pages…
  • Simple Archive now provides support for language translations – internationalisation. Ensure WPLANG is set in your wp-config.php file. Then use the simple-archive.pot template to create a .po translation for your language, this then needs compiling (maybe using poedit) to create a .mo file. An example German translation (simple-archive-de.po) is provided thanks to Ingo Terpelle.
With great regret I have closed comments on this post as I’m being deluged with queries that often boil down to “how to” requests and not issues with the plug-in, which works perfectly! 🙂 So, if you want support, even advice, use the Feedback link and ask away…

But please note I will ask for a donation before I’ll look at “how to” questions, I can’t teach PHP programming for free.

Version History:

  • 5.2 – Needed redesign of output to avoid a BIG issue with PHP memory overflow!
  • 5.1 – Extra options to control indentation style.
  • 5.0 – Update to use WP’s Walker class.
  • 4.0 – Hide and Show option.
  • 3.2 – Full stop error in statistics information.
  • 3.1 – Bug in date function fixed.
  • 3.0 – Option for showing post dates in archive – prompted by Brendan Berkley (http://www.zamagazine.org).
  • 2.2 – Support for internationalization added.
  • 2.1 – Enhancements (plus a couple of fixes) to Ingo’s version.
  • 2.0 – German translation plus a few other features thanks to Ingo Terpelle (http://www.xing.com/profile/Ingo_Terpelle).
  • 1.0 – A whole bunch of fixes and typos thanks to Mark DeNio.
  • 0.6 – Fixed category nesting error.
  • 0.5 – Option to also show spam comment count.
  • 0.4 – Statistics added.
  • 0.3 – Added administration options page.
  • 0.2 – Only lists the first occurrence of a post.
  • 0.1 – Initial version.