Jquery function to open external links in new tab


SQL Query to update/replace string in wordpress

UPDATE wp_options SET option_value = replace(option_value, ‘old string’, ‘new string’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;

UPDATE wp_posts SET guid = replace(guid, ‘old string’,’new string’);

UPDATE wp_posts SET post_content = replace(post_content, ‘old string’, ‘new string’);

UPDATE wp_postmeta SET meta_value = replace(meta_value,’old string’,’new string’);

Continue reading “SQL Query to update/replace string in wordpress”