Sunday, 6th February 2011 at 5:11 pm | 13 Comments »

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…

13 Responses to “WP Geo 3.2.3”

  1. RavanH says:

    I noticed a little redundant code in widgets.php on line 75. There is a call to WPGeo_Widget::add_map($width, $height, $maptype, $showpolylines, $zoom) while that data is already available as $map_content form line 72 πŸ™‚

    Other inconsistancies:
    – templates.php line 158 with that echo should be removed;
    – shortcodes.php function shortcode_wpgeo_map_link I suggest adding something like
    if (!$content) $content = __(‘Show on map’,’wp-geo’);
    and removing the do_shortcode() around $content at the return…

    • Ben says:

      Thanks for those points, I’ll apply those changes.

      Regarding the do_shortcode() around the content, that is require so you could show the latitude and longitude as a link like this:

      [wpgeo_map_link target="_blank" zoom="10"][wpgeo_latitude], [wpgeo_longitude][/wpgeo_map_link]

      Also for the default content for the shortcode I’ll use “View Larger Map” which is what the default Google text is if you embed a map from the Google Maps site.

    • RavanH says:

      Hi Ben, that’s funny: when using your example in a sidebar widget, $content is already the replaced lat, lng so it works even without the do_shortcode() wrapper but you are right, when using the shortcode in the content, that extra is needed. I had not thought of such creative use πŸ™‚

      But I have another suggestion… why not add :
      class=”‘ . $r[‘class’] . ‘”
      and
      rel=”‘ . $r[‘rel’] . ‘”

      That way, I can make the link pop up in a FancyBox overlay frame or if someone does not want to break his/her XHTML Strick validity but still wants to make it open in a new tab with javascript, being able to set rel will be helpful πŸ™‚

  2. april says:

    I would like to see some screen shots or an example of this. I’m not sure if it can work for what I’m looking for…I want to find a plug-in to show where supporters have sent donations and or prayers for a cause on our website.

    can anyone help?

    thanks

    • RavanH says:

      Hi April, if you plan to write one post for each donation/location, I am pretty sure this plugin can serve you well. With it, you can give each “donation post” a location with the use of a map when editing the post. With the available sidebar widget you can show the location for that donation post in the sidebar… and now there is also a shortcode available to show a map with ALL locations at once πŸ™‚

  3. Adrian says:

    Hi, is it possible to cluster markers on the maps with the plugin? like this: http://code.google.com/apis/maps/articles/toomanymarkers.html

  4. foodnut.com says:

    I’m still having the problem where on the admin’s add post screen it never draws a map for a new post. If I downgrade to 3.092 it works fine. Using WordPress 3.1, but this problem has been around well before it.

    • Gaperville says:

      Ive noticed their is no support for this plugin from the developers.

      Is their another plugin that works? Ive tried a lot of them and they are all no good.

    • Ben says:

      @Gaperville

      Yes, this is a free plugin I initially created to fulfil a specific requirement I had. I released it as a free plugin as I thought others might find it useful too.

      I don’t have as much available time as I would like to continue to support and enhance the plugin, but I do try to keep it up-to-date and bug free as much as I can.

      There are other Google Map plugins available if they would suit your needs better. Just search for them on the WordPress.org web site:

      http://wordpress.org/extend/plugins/

      If this plugin really suits your needs best but you require extra functionality, you may be able to find a develop who you could commission to write further functionality on the WordPress jobs site:

      http://jobs.wordpress.net/

  5. Stu says:

    Hi

    I have noticed that the Marker has disappeared from the map on the post. Drill down works to the posted location but no marker is displayed anymore.

    Anyone have an idea?

    Was working ok

  6. Gaperville says:

    This was working perfectly, then it broke when I installed my SSL. I have tried un-installing/Re-installing/Deleting/Blah and nothing works.

    I’m using WP-GEO V: 3.2.3, WP V: 3.1.2

    In the postings, the map does not show at all. In the edit area, the message says: Loading Google map, please wait…

    Thank you kindly for your support, πŸ˜‰

  7. marty says:

    I have added the wpgeo_mashup tag inside a page. The map shows up and some markers are showing, but a lot of markers are also NOT showing.

    I haven’t found out why some posts are showing up and some not.. They are all in different categories but all posts have the same format. Why do some posts not show up?

Leave a Reply