Skip to content

Instantly share code, notes, and snippets.

@wokamoto
Created September 12, 2013 08:16
Show Gist options
  • Save wokamoto/6534349 to your computer and use it in GitHub Desktop.
Save wokamoto/6534349 to your computer and use it in GitHub Desktop.
[WordPress] Google Maps Anywhere から Simple Map プラグインに移行する
update wp_posts
set post_content = replace(post_content, '[googlemap', '[map')
where post_content like '%[googlemap%';
update wp_posts
set post_content = replace(post_content, '[/googlemap]', '[/map]')
where post_content like '%[/googlemap]%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment