SELECT * FROM `wp_posts`
WHERE `ID` IN(
3459, 3461, 3462, 3466, 3468, 3470,
3525, 3531, 3536, 3541, 3546, 3553,
3555, 3561, 3566, 3571, 3576, 3584,
3589, 3594, 3599, 3605, 3610
);
UPDATE `wp_posts`
SET `post_content` = REPLACE(`post_content`, 'search', 'replace')
WHERE `ID` IN(
3459, 3461, 3462, 3466, 3468, 3470,
3525, 3531, 3536, 3541, 3546, 3553,
3555, 3561, 3566, 3571, 3576, 3584,
3589, 3594, 3599, 3605, 3610
);
wp_enqueue_script()
functions.php
в папке с вашей темой:/**
* Load Enqueued Scripts in the Footer
*
* Automatically move JavaScript code to page footer, speeding up page loading time.
*/
function footer_enqueue_scripts() {
remove_action('wp_head', 'wp_print_scripts');
remove_action('wp_head', 'wp_print_head_scripts', 9);
remove_action('wp_head', 'wp_enqueue_scripts', 1);
add_action('wp_footer', 'wp_print_scripts', 5);
add_action('wp_footer', 'wp_enqueue_scripts', 5);
add_action('wp_footer', 'wp_print_head_scripts', 5);
}
add_action('after_setup_theme', 'footer_enqueue_scripts');