This behavior of the page is caused by the WP Rocker plugin you are using.
With the active “Delay JavaScript Execution” option (“File Optimization” tab), all scripts on your website are loaded only after the user performs some action (e.g. will move the cursor). This applies to both the mobile and desktop versions.
Excluding just jquery
and slick.js
from lazy load in WP Rocket settings should solve the problem.
Related Posts:
- How to set time delay in javascript
- Disable button in jQuery
- Submit a form using jQuery
- Adding placeholder attribute using Jquery
- JavaScript: filter() for Objects
- wait() or sleep() function in jquery?
- Force a default browser on my android phone using a simple html shortcut page
- Ajax Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
- Enable & Disable a Div and its elements in Javascript
- Which selector do I need to select an option by its text?
- Check if inputs are empty using jQuery
- The ‘describe’ keyword in javascript
- CSS not pulling in for jQuery UI dialog
- WordPress Ajax URL for function in functions.php
- Move WordPress native javascript to bottom of page?
- Check if jquery library exist
- Loading style.css and Jquery using HTTPS
- AJAX function returning -1
- Uncaught TypeError: Cannot read property ‘replace’ of undefined
- Is it worth updating WP admin to jQuery 1.5?
- Proper way to load a single post via Ajax?
- Ajax not firing properly using Firefox, but works in Chrome
- Get ACF value in external jQuery document
- How to load whole WordPress pages dynamically with AJAX/jQuery like this following website?
- Adding jQuery dependency prevents my script from enqueuing/loading
- How to pass jQuery ajax URL value
- how to get the comment ID in the front end when the REPLY button is clicked?
- Gravity Forms not loading under https, jQuery is not defined
- Gravity list field override and adding javascript [closed]
- Change header image loaded by jQuery to use HTTPS
- Admin wp_ajax hook returning 0
- Automatic jQuery accordion from header tags
- Add a Fancybox automatically to post type “post” images
- How to deregister a jquery version for a specific page?
- Enqueuing javascript files
- Creating multiple enclosing shortcodes and fixing JS issues on click
- How to undo deregister script and use local versions?
- Can’t load a class into WordPress post editor’s content field
- How can I check email exists via a jquery keyup()?
- Hide metabox dependant on page template chosen
- How to Dynamically Load Content Into Body of Bootstrap Modal Window?
- Frontend Post with JQuery AJAX to Php Issue
- show/hide div with simple jQuery script [closed]
- Searching multiple tags and adding jQuery dependant script onto page template?
- TinyMCE 4 remove/add attributes for all images
- How to get all users by custom current user meta (array)?
- wp_dequeue_script not working in my plugin
- Trouble adding inline style after jQuery in the footer!
- Reload wordpress shortcodes
- jQuery script isn’t posting to database
- $.browser Undefined Seemingly Causing Faulty Page Display
- I’m trying to set the cookie to my site to button on click action ,it is working on when user logged in .When user logged out it’s not working
- Ajax form submit not working, returns 0
- Invoking Jquery in a Plugin
- Why not working jquery show() function in wordpress? [closed]
- Loading scripts on a single page plants the script in the footer
- registering new jQuery after wp_deregister_script() not working
- Displaying an image’s alt title and caption inside a fancybox window. Working, but showing the same alt and caption for each image
- jQuery Show DIV and Remove Button [closed]
- timeouts (ERR_CONNECTION_RESET) on seemingly random files after upgrading to HTTPS
- Required radio button does not validate in form, when clicked through Javascript/jQuery
- Need workaround for insecure XMLHttpRequest endpoint request
- jQuery don’t working
- Flexslider won’t work with WordPress’ jQuery | Dependencies
- Applying jquery to WordPress admin edit.php
- Load different post_thumbnail for smaller window width (jQuery,WordPress)
- Duplicate “default” form with jQuery
- Checking length of string in an admin area field onblur with jQuery
- admin ajax php success returns 0
- Blur.js with WordPress – Enqueued, but server not finding file
- Selecting multiple options onclick
- my example with ajax doesn’t work
- Best way to add some custom javascript using jquery to a child theme
- Submitting form from input[type=file] dialog box
- Cannot remove error “Conflict with another plugin which overwrites jQuery” from wordpress site
- WordPress not showing jQuery
- JQuery script working locally on desktop, not working on WordPress + Divi
- Uncaught TypeError: Cannot read property ‘replace’ of undefined
- Loop through WordPress API response errors
- Can’t Target a Widget’s Elements using jQuery
- Uncaught TypeError for wp-auth-check in wpCompressionTest on Posts/Pages
- Javascript when Customizer preview is ready/refreshed?
- Lightbox scroll page down on iPhone
- Multiple recaptcha validation
- Jquery scroll animate offset asynchronous
- jQuery plugin is loaded correctly, but does nothing
- WP Media Uploader modal conflicts with Bootstrap modal
- JQuery Login Dropdown not functioning in theme
- Javascript function to switch out images
- How to add a custiomized javascipt into a template
- Enqueue javascript that inserts custom php widget into jQuery-constructed div
- Retrieve customizer value using ajax or customizer api and print the value in theme
- Rollover Image jQuery help
- Loop not appending through infinite-scroll ajax call
- Add mark-up after/before link in wp_list_categories
- Need help with adding jQuery script to WP and calling script to page
- Monarch JS has not been loaded. After changing the $dep parameter, it start being loaded
- Integrating jSquares and Jquery with WordPress loop
- How to Supply Console Logs Data into the WooCommerce Cart?
- Making the Google Maps API non readable