通过将以下内容粘贴到我的函数中,大部分问题都得到了解决。php
function my_init()
{
if (!is_admin())
{
wp_deregister_script(\'jquery\');
// Load the copy of jQuery that comes with WordPress
// The last parameter set to TRUE states that it should be loaded
// in the footer.
wp_register_script(\'jquery\', \'/wp-includes/js/jquery/jquery.js\', FALSE, \'1.11.4\', TRUE);
wp_enqueue_script(\'jquery\');
}
}
add_action(\'init\', \'my_init\');