Forum Replies Created

Viewing 1 replies (of 1 total)
  • I had a similar problem. There was no error in the Javascript console. I was using a theme that didn’t enqueue jquery, so jquery wasn’t getting enqueued until the slide_anything_shortcode function, and by that time the page’s head had already been done, so the script was included at the bottom of the page.

    In slide-anything-frontend, “if (wp_script_is(‘jquery’, ‘done’))” was returning false because jquery hadn’t yet been included in the page. This resulted in the slider not getting initialised.

    I fixed it by adding “wp_enqueue_script(‘jquery’);” in my theme’s functions.php, near where it enqueues other scripts.

Viewing 1 replies (of 1 total)