В functions.php:
function jquery_disable() {
wp_deregister_script( ‘jquery’ );
wp_register_script(‘jquery’, («http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js»),f alse, ‘2.1.3’);
wp_enqueue_script( ‘jquery’ );
}
add_action( ‘wp_enqueue_scripts’, ‘jquery_disable’);
Выкл родной:
wp_deregister_script(‘jquery’);
Вкл неродной:
wp_register_script(‘jquery’, («http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js»),f alse, ‘2.1.3’);
wp_enqueue_script(‘jquery’);
вставил код и теперь у меня появилась ошибка
Parse error: syntax error, unexpected ‘alse’ (T_STRING) in /home/maximbea/maximbeautique.in.ua/www/wp-content/themes/idstore/code/functions.php on line 1181
Удалите с «f alse» пробел, код коряво вставился.