WP Geo 3.2.5

Friday, 5th August 2011

NOTE: You may need to re-add your widgets after upgrading to 3.2.5!

If your site uses the map widget, the 3.2.5 upgrade will remove it due to changes to the code. You just need to go to Appearance > Widgets in the WP admin and re-add the widget.

If you don’t use widgets you don’t need to do anything, just dismiss the message.

  • Widgets updated to use Widget API – you can now add multiple widgets.
  • Added recent locations widget.
  • Added ‘wpgeo_base_country_code’ filter so you can default admin post map search to a base country.
  • Added option to show maps in taxonomy archives.
  • Fixed admin map not showing after publish if “Save map centre point for this post” checked but no marker added.
  • Fixed some deprecated functions and undeclared variables.
  • Fixed feeds – incorrect database table references.
  • Fixed dashboard – uses SimplePie.
  • Prevent post been saved when pressing enter in WP Geo post fields.
  • Check that co-ordinates have been set in get_wpgeo_post_map().

Auto-upgrade within your WordPress admin or download it here…


WP Geo 3.2.3

Sunday, 6th February 2011

Another little update to WP Geo…

  • If markers image files aren’t in uploads folder, default to using the ones in the plugin folder.
  • Fix for post settings being overwritten when using quick edit.
  • Added extra attributes to ‘wpgeo_mashup’ shortcode.
  • Added extra style fix for background image colours.
  • Updated Italian language files.

Auto-upgrade within your WordPress admin or download it here…


How to create a custom marker image for WP Geo

Monday, 19th July 2010

Since the 3.2 release of WP Geo it is possible to easily add new marker icons via a filter, either in your theme’s functions.php file or as a plugin.

I would suggest that if you are creating a marker icon specifically for your theme you add it your theme’s functions.php file. However, it is possible to create a set of markers packaged in a single plugin – ideal if you want to share your icons by releasing them on the WordPress plugin repository. If you do this please tag it as ‘wp-geo’ to make it easier to find in the plugin repository.

Read the rest of this entry »


WP Geo 3.2

Sunday, 18th July 2010

I’ve just released this WP Geo release while attending WordCamp UK.

This version now works just fine with WordPress 3.0 and supports custom post types that use the WordPress user interface – for example, using the Custom Post Type UI plugin – you can add support for custom post types on the WP Geo settings page. You can also add support for a specific post type using the add_post_type_support( <post-type>, ‘wpgeo’ ) function.

There are two new filters so that you have more control of customising marker icons – wpgeo_markers and wpgeo_marker_icon. This will allow you to easily override any marker image so you could potential show different marker images for different posts or categories.

There are also some addition template tags – see the change log below.

There are also many minor fixes and and support for Simplified Chinese language.

  • Fix for tooltip not working in WordPress 3.0.
  • Fix to allow maps to be shown on tag archive pages by Lee Willis.
  • Fix for default_map_control setting not being saved correctly.
  • Ensure default map location is populated, otherwise map does not display when editing a post in the admin.
  • Don’t try to show maps in feeds.
  • Make sure includes are only included once.
  • Added support for custom post types in WordPress 3.0.
  • Added wpgeo_title() and get_wpgeo_title() template tags.
  • Added wpgeo_post_map() and get_wpgeo_post_map() template tags.
  • Added wpgeo_check_version() and wpgeo_check_db_version() for checking WP Geo version.
  • Added ‘wpgeo_markers‘ filter in preparation for being able to add new marker icons.
  • Added ‘wpgeo_marker_icon‘ filter. Allows you to override a marker icon based on post data and context.
  • Added Simplified Chinese language.
  • Language files updated.

Download the latest version of  WP Geo from the WordPress plugin repository.


Keep updated – Join the WP Geo mailing list

Friday, 25th June 2010

If you are a developer, translator,  or want to test drive the development and beta versions of WP Geo, make sure you stay in the loop by signing up to the mailing list.

Click here to sign up to the mailing list…

You should sign up to this list if:

  1. You are interested in testing out beta and development versions of WP Geo and providing feedback.
  2. You develop a plugin that works with WP Geo and need to keep up-to-date with development.
  3. You are interested in translating WP Geo – I’ll let you know via this list when there is new text to translate.

This group is NOT for:

  1. General feature requests.
  2. Issues/bugs relating to a current release WP Geo – development/beta discussion only please.
  3. Help getting stuff to work.

In these instances please post in the forum.