Wordpress : Uncaught TypeError: $.stellar is not a function

1.1k Views Asked by At

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,

0

There are 0 best solutions below