>
Download This Plugin | |
Download Elegant Themes | |
Name | Geolocation History |
Version | 1.0 |
Author | Yoran Brondsema |
Rating | 0 |
Last updated | 2012-12-19 10:41:00 |
Downloads |
377
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Geolocation History plugin added 14 bytes of resources to the Home page and 38 bytes of resources to the sample Post page.
Geolocation History plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Geolocation History plugins ads the following DB table(s) to your Wordpress blog database:Table name | Table size (in bytes) |
---|---|
wp_geolocation_history | 16384 |
This plugin allows the administrator to keep track of a history of geographical locations. It was developed for a travel blog and the geographical locations were drawn onto a Google Maps widget so that visitors could keep track of the blogger's traveling.
A live example can be seen on the author's travel blog (in Dutch).
Its main features are:
The plugin is administrated from the admin (addition and removal of geolocations) and it exposes an API to the front-end. Once the plugin is installed, a theme can call the following functions:
lochis_get_location_history()
: returns an array containing the whole history of geolocations, sorted by ascending date.lochis_get_latest_location()
: returns only the most recent geolocation.Each of these functions also has an AJAX-equivalent that returns a JSON-object instead of a PHP object. This way you can use the geolocations in Javascript, for instance to be shown in a Google Maps widget. The AJAX functions are:
lochis_ajax_get_location_history()
lochis_ajax_get_latest_location()