Saturday, 17th January 2009 at 9:33 am | 17 Comments »

This is a minor WP Geo update with a few extra features:

  • Added way to escape shortcode [wp_geo_map escape="true"]
  • CSS Max-width image fixed added.
  • Italian language added.
  • German language updated.

It adds Italian language support and updated German language support.

The shortcode ‘escape’ parameter allows you to write the shortcode as text instead of it displaying a map (although recently I discovered another plugin wpNSC which probably does this better).

It also reinstates the CSS Max-width image fix. Many WordPress Themes seem to have a CSS styles which sets the max-width of images to 100%. Unfortunately this seems to break Google Maps. Previously I removed this as it breaks the display of the map scale (if you have selected to show it in the options). However, there seem to be so many themes that use max-width:100% for images that I though it better to include the fix by default with the option to remove it if you really need to show the map scale.

17 Responses to “WP Geo 3.0.5”

  1. Geodreamteam says:

    Sorry for my bad english but very very good job for the plugin. It’s excellent !

    Very thinks 😀

  2. Joeri says:

    Hi,

    I’ve just started using WP-Geo and everything seems to work fine except for using the shortcode in my posts and pages. It renders the <div #wp_geo_map in the correct size but it doens’t show the map.

    Is this a familiar bug to you? Is there a solution you can think of?

    Your advise would be of great help.

    Thanks in advance,
    Joeri

    • Ben says:

      Hi Joeri,
      The first thing to do would be to try disabling your other plugins to check there isn’t a conflict. Next you could try using the WordPress default theme to see if that works. If it does it is probably a conflict with your Theme. Which theme are you using?

  3. Joeri says:

    Thanks for the quick reply,

    I’ve activated the default theme and deactivated all the other plugins. Still no effect.

    This is a link to the map page on my testblog:
    http://www.nieuweremedia.nl/index.php/map/

    This is the site I eventually want to use WP-geo on: http://espressos.nl The theme I use on this page is Arthemia (there is a link to the theme-page on the bottom of the page).

    • Ben says:

      Hmm, strange, it doesn’t seem to have written in any of the javascript to add the map to the div.
      Have you set a location in the edit screen of your post page?

  4. Joeri says:

    I’m starting to feel real stupid now, because I didn’t.

    My idea was to make a page with a overview of all the posts on the map. Like you can do with the widget in the sidebar on the front page. But if you use the shortcode it expects you to fill in a location, of course. How stupid of me.

    Is there also a shortcode to make an overview map?

    Sorry for wasting your time before, should have figured that out on my own 🙂

    • Ben says:

      No shortcode to do that at the moment but will look into adding one. There is a template tag which will do something similar:

      < ?php $wpgeo->categoryMap(); ?>

  5. Chris says:

    Great plugin mate. I love it so far.

    On my page, the PNG markers are displaying without transparency in both IE & FF. I have tried re-uploading them to the uploads/wp-geo/markers from the originals but no luck. They display as non transparent white boxes.

    Any thoughts?

  6. dmitry says:

    Hi there!
    First of all many thanks for your plugin, but i have a question to you. Is it possible somehow to display markers from all posts in one map?

  7. dmitry says:

    Thanks for that will wait!

  8. Christoph says:

    Thx for this great plugin. I use it for my new zealand related travel blog. But is there any possibility to pre- and append any custom html tags? May in any future version?

    Thx again

    Christoph

    • Ben says:

      Adding HTML before and after each map?
      Do you mean adding the same thing on all maps (could be controlled from the settings page) or adding stuff individual to each map?

  9. Trond says:

    Hi

    I’ve installed the plugin, and the maps show up without markers and the page with display error: wpgeo_createMaker2 is undefined”. What do I do wrong?

    Using Mandigo theme

  10. FiOrE says:

    I’ve just update the plugin to the 3.0.6 but my blog displays this error in home:

    Warning: include(filters.php) [function.include]: failed to open stream: No such file or directory in /foo/wp-content/plugins/wp-geo/wp-geo.php on line 1369

    Warning: include() [function.include]: Failed opening ‘filters.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /foo/wp-content/plugins/wp-geo/wp-geo.php on line 1369

    Warning: include(functions.php) [function.include]: failed to open stream: No such file or directory in /foo/wp-content/plugins/wp-geo/wp-geo.php on line 1372

    Warning: include() [function.include]: Failed opening ‘functions.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /foo/wp-content/plugins/wp-geo/wp-geo.php on line 1372

    Warning: Cannot modify header information – headers already sent by (output started at /foo/wp-content/plugins/wp-geo/wp-geo.php:1369) in /foo/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 38

    Please help me now I’ve deactivate it

  11. FiOrE says:

    Now works! Thank you very much, you saved me 🙂
    Very useful plug-in, I like it very much…

Leave a Reply