Entered in the function.php file:

// Remove themes old version of jQuery and load a compatible version function my_update_jquery () { if ( !is_admin() ) { wp_deregister_script('jquery'); wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', false, false, true); wp_enqueue_script('jquery'); } } add_action('wp_enqueue_scripts', my_update_jquery); 

This function cancels all boxed jquery and follows the link. In my case nothing happens ..... the conflict was as it was, and remained

Closed due to the fact that the essence of the question is not clear to the participants of KAGG Design , αλεχολυτ , Grundy , Sasha Omelchenko , Yuri 9 Apr '17 at 8:52 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • one
    There is no jquery conflict in WordPress. Explain that you have additionally installed, what conflicts with what, what errors in the browser console. - KAGG Design
  • one
    And the third parameter should be specified as array () - KAGG Design
  • one
    Well, what is the third parameter in register_script - KAGG Design
  • one
    And until you answer the questions in the first comment, the discussion is meaningless. - KAGG Design
  • one
    Ok, and what's in the browser console? - KAGG Design

1 answer 1

KAGG Design helped me to understand this issue and come to the conclusion that the code I specified works, just the problem was different! I leave this question, because KAGG Design in the comments gave a lot of smart arguments about the work of the jquery library. Thank you so much KAGG Design