cysharp
Forum Replies Created
-
Hello,
I found the root cause : I added a line in my functions.php to “deregister” the jquery file loaded by default (too old version). With that, some js file from plugins were not loaded anymore.
Apparently, added my jquery file in my footer.php was not Ok. I solved the issue with wp_enqueue_script and my jquery file path.
function my_jquery_enqueue() {
// Hack to stop wordpress from loading jQuery in the head of the page
wp_deregister_script( ‘jquery’ );// Then load it in the footer.
wp_enqueue_script( ‘jquery’, “/wp-content/themes/kalidors/assets/vendor/jquery/dist/jquery.min.js”);
}Now, it’s ok 🙂
Thank you,
Hello,
Thank you for your reply.
Yes, I’m using a cache plugin and no effect after the purge.
Animations were disabled.However, you are right : when I switched to Twenty Twenty, it worked. So, there is something wrong with my theme (it worked until the last version of the plugin :()
I’ll investigate, thank you
- This reply was modified 5 years, 10 months ago by cysharp.
I noticed that I don’t have any reference to hustle-ui.min.js in my source code.
It could explain my issue but I don’t know why this reference is missing :/