I'm using a stellar function for parallax effect. When i used it in html file it works great. But when I added my template to Wordpress I got this error:
Uncaught TypeError: $.stellar is not a function
What is wrong and how to resolve that? Below is the code how I added scripts:
<script src="<?php echo bloginfo('template_url'); ?>/js/jquery.stellar.min.js"></script>
<script src="<?php echo bloginfo('template_url'); ?>/js/script.js"></script>
Regards,