Tagged: jquery 1.9, update jquery
- This topic has 3 replies, 2 voices, and was last updated 10 years, 1 month ago by
Sebastian.
Author | Posts |
---|---|
idodialog
March 5, 2015 at 12:14 am
|
Heads up! this post was created when Microthemer was at version 3. The current version is 7. Some references to the interface may be out of date. Need help with this. |
Sebastian
March 5, 2015 at 5:38 am
|
Hi there, Yes I’m happy to help you with this. It’s likely that either your theme or a plugin is replacing the modern version of jQuery that is normally included by default with an older version of jQuery. WordPress advises against this practice because it limits progress. The following PHP code removes the default version of jQuery:
If you locate and remove this code, along with the code for enqueueing a different version of jQuery WordPress will include the latest version and Microthemer should work. If you’re not sure how to do this yourself I can help you. But you would need to send me FTP details for your website via this secure form: https://themeover.com/support/contact/ However, it’s worth pointing out that you may have some plugins or custom scripts in your theme that only work with the old version of jQuery. There may have been a reason the default jQuery was de-registered. By updating jQuery you may fix the issue with Microthemer but cause something else to stop working. My advice to update jQuery remains though. This problem will re-emerge again and again with various modern plugins if you don’t modernize jQuery. Cheers, |
idodialog
March 5, 2015 at 5:43 am
|
where am I likely to find `wp_deregister_script( ‘jquery’ ); |
Sebastian
March 6, 2015 at 4:44 am
|
It could be in one of your theme files (e.g. functions.php) or any one of your plugins. Do you have a local copy of the website on your computer? If so, and if you have a code editor that can search for text strings in all files in a given directory, I recommend doing a search for:
I’ve omitted the jQuery bit because it may have double quotes and no blank spaces in the brackets. Also, if you can post a link to your website or email it to me (https://themeover.com/support/contact/) I can inspect the frontend of your site just to make sure that an old version of jQuery is indeed being loaded. Cheers, |