After several hours of thinking I’m being a idiot (happens occasionally) I discovered that sometimes you’ll need to call
1 | <?php wp_head(); ?> |
before any jQuery scripts (or concatenated scripts in my case).
It’s been hours and I couldn’t figure out why none of the Carousel scripts I was trying today wanted to work – while all other scripts and plugins carried on just fine.
And yes – I am already trying to prevent jQuery conflicts with
1 | <?php wp_enqueue_script( "jquery" ); ?> |
So if your carousel (or other) scripts don’t want to work – try shaking up your head
.
Last updated on 5th September 2018
Leave a Reply