This might work for you. try with enqueue instead of registering it.
wp_deregister_script('jquery');
wp_enqueue_script( 'jquery', get_template_directory_uri() . '/js/libs/jquery-3.1.1.min.js', array(), "3.1.1", true );
Related Posts:
- Not sure if enqueuing js scripts properly
- jQuery does not work
- Most elegant way to enqueue scripts in function.php with foreach loop
- Enqueuing Script in functions.php vs on the page
- jquery won’t load in footer
- How do I get a child theme to load scripts from the parent theme?
- Passing arguments to my function with do_action and add_action is not working
- Why won’t my scripts load?
- how to en-queue jQuery to load before the tag
- Attempt to change jQuery version caused White Screen of Death
- Scripts not loading when using the wp_enqueue_scripts action
- In jquery use php variable to execute an enqueued jquery file
- Run a jquery script on on a certain template page
- wp_enqueue_script | Help me figure out what is causing jQuery is not defined
- How to load jQuery in TOP of wp_footer?
- Include Jquery libraries in wordpress theme?
- colorbox not loading in
- How to use wp_enqueue_script properly?
- What is the earliest Hook a Script can use?
- post value to function with Ajax and jQuery
- WordPress Jquery+scripts enqueue issue
- How to wp_enqueue_script with html?
- Remove snippets of JS from core
- How to load scripts/styles specific for a page
- Correct Method to run scripts with dependencies without enqueue?
- How to use the do_action () with parameter
- Perform an action when post is updated/published
- Do WordPress’ cron’s clean up expired transients?
- deregister scripts on certain page
- How to count number of functions attached to an action hook?
- ajax live search for post title
- How can I tell if I’m on a login page? [duplicate]
- enqueuing React script and hooking its target div fails to load script
- Using get_terms for custom taxonomy in functions.php
- Fatal error: Call to undefined function add_action() – an untouched problem
- Dequeue Scripts and Style for Mobile not working?
- Display a function using AJAX
- Automatically Add Specified Value to Attachment Metadata upon Upload
- Can’t Update function.php after writing short code
- How to update feed only 2-3 times a week (for Feedburner email)?
- wp_enqueue_script add integrity parameter
- When using wp_enqueue_script(); in a theme why don’t we use add_action?
- Replace menu links with # and add name to its li
- Register vendor JS/CSS only on pages that require them?
- When to use add_action when registering/enqueuing scripts
- Register and load scripts
- Which action does wp_update_user triggers?
- Wp_query function to search from product_title ‘OR’ product tags name
- How can I get my Script to work on the Login page?
- Scripts not appending to element in AJAX call – why?
- Trigger a custom function when option are saved in admin area
- How to change the order of Jquery in the footer of my theme?
- Redirect to another page if the user is logged in when pressing again the login button on menu bar
- Add a jQuery Function
- Difference b/w Simple function call & do_action call
- Trying to get custom js files in my admin header
- Set Taxonomy based on post status
- WordPress error when replacing local jQuery by externally-hosted
- add_action template_redirect not working for home page
- Enqueuing latest version of jQuery into a child theme returns a blank screen
- AMP – Change rel=”canonical” from functions.php [closed]
- echo custom fields with AJAX
- Enqueue script on every page except one
- Add back in child theme what the parent theme removed with remove_action
- login_headertitle is deprecated since version 5.2.0
- Where is this JQuery coming from?
- 404 when enqueue_script using plugin_url
- Enqueue script: link not working in page source
- Are innerHTML elements visible to jQuery functions?
- Fatal error: allowed memory size when after using enqueue_script
- How to add php within jquery
- wp_enqueue_script() not working
- Get webpack to work on child theme
- Fire action after enqueue script
- How to load a css file depending on the current role
- localize_script but data changes dependent on product ID
- Hide ‘add to cart’ when certain value in dropdown is selected
- If has action not working as expected
- wp enqueue style on about us page
- Is_Page doesnt detect my page
- How do you insert code into the sidebar?
- Test CDN link from function.php or wp_enqueue_script/style?
- How to show only specific category post by user role without plugin and restrict all other cats
- Images with overlay
- Unable to declare AOS library in functions
- How to use `foreach()` in ajax call
- Remove action hook from Class, understanding OOP
- How To Display Author Popup on Entry Meta (Genesis Framework)?
- Automatic add space if user enters number(any digit)
- Moving CDN jQuery to footer does not work?
- custom COOKIE on custom page
- Adding a jQuery rotator function
- Settings in functions.php used by a plugin
- How to use different jquery function of idangero swiper dependant on page template?
- JS plugin script loading but not working
- Using array page name together with page id to deregister script
- How do I get my nav menu to show sub pages?
- Having problems loading Jquery in functions.php
- JavaScript file successfully registered but does not render correctly
- iOS and ajaxComplete