These are chat archives for idiot/unslider

22nd
Jul 2016
Danny Smith
@riskiii
Jul 22 2016 15:11

I am trying to get unislider to work with WordPress. I have used wp_enqueue_script to add the js file, and added the following to the header:

<script>
jQuery('.my-slider').unslider({
autoplay: true
});
</script>
For some reason nothing works.