A Pen by Brian McDaniel on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ACF Google Maps Rendering | |
| (function ($) { | |
| /* | |
| * new_map | |
| * | |
| * This function will render a Google Map onto the selected jQuery element | |
| * | |
| * @type function | |
| * @date 8/11/2013 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UPDATE wp_options SET option_value = replace(option_value, 'OLD SITE URL', 'NEW SITE URL') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET guid = REPLACE (guid, 'OLD SITE URL', 'NEW SITE URL'); | |
| UPDATE wp_posts SET post_content = REPLACE (post_content, 'OLD SITE URL', 'NEW SITE URL'); | |
| UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, 'OLD SITE URL', 'NEW SITE URL'); |