• Using the Google maps V3 shortcode latest version, I updated WordPress to 3.1.2, map not showing up.
    Great little plugin for WordPress

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter dwrf6

    (@dwrf6)

    It seems to be on my Webkit browsers, Safari and Chrome.
    Very odd.

    Thread Starter dwrf6

    (@dwrf6)

    Have it running, seriously weird, I don’t have any idea why, I was going to start turning on and off all the other plugins until it worked.

    Looks like it need to be fixed for WP 3.2.1 … also not working on this version on a plain installation.

    It looks like the issue is here in the plugin:

    $returnme .= '</script>';
    		return $returnme;
    	?>

    revise it to this to get it to work:

    $returnme .= '</script>';
    		return str_replace("\r\n", '', $returnme);
    	?>

    Sigh, so much promise and so easy to use but still not working properly in Safari on a Mac and zkwentz’s fix (above) doesn’t fix it either. Weirdly enough about half the maps on the developers page of examples do display in Safari, and the others don’t, although some then did when I tried to grab and drag the blank map area. I’ve tried looking at the source code of that page but can’t see any obvious link between those that work and those that don’t.

    sydatbliz, my fix ended up being a temporary fix. It came down to the theme being an issue. Sometimes they do this thing with shortcodes and their formatter, and it screws them up. I can almost guarantee it’s a theme if that’s what you’re using.

    Look for the my_formatter function in shortcodes.php, if that function exists, it’s messing up your shortcode.

    Thanks zkwentz. I realised a few days after my last post that the problem was somehow Theme related as it all worked in Safari when I changed to the Gantry theme from the TwentyTen theme.

    Of course the initial problem seems to a combination of OS, browser & theme, so I guess I’ll have to wait until the site goes live and someone eventually writes to the site saying that it doesn’t work with Gantry on their particular mix of OS and browser before I’ll ever know!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Update map not showing?’ is closed to new replies.