adding script on in function wp_enqueue
-
Hello,
I want to use unslider.com simple image slider without installing any plugins.
I am ready to edit php/css files of my theme but I dont want to install any plugins.According to the instructions on the homepage of UnSlider I need to include unslider.min.js & jquery files in my header. Also I need to add a
<script> $(function() { $('.banner').unslider(); }); </script>
(maybe somewhere in footer.php.
What is the simple way to achieve image sliding effect using unslider? I tried to edit function.php files of my theme to include (wp_enqueue) the min.js but I messed up something.
How you would do it (without installing its plugin that is).
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘adding script on in function wp_enqueue’ is closed to new replies.