Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
0
Slider/jQuery Pagination not displaying - TypeError: $(...).owlCarousel is not a function 1
Anthony
Sep 19, 2016 11:55 PM 1 Answers General
Member Since Sep 2016
Subscribed Subscribe Not subscribe
Flag(0)

Hi, I recently purchased the Pro version and am trying to get the Slider and/or jQuery pagination to display. I can't seem to get anything but the standard Grid layout to display, and I'm getting an error in my console that reads:

TypeError: $(...).owlCarousel is not a function

<anonymous>
ot.Callbacks/c()
ot.Callbacks/d.fireWith()
.ready()
s()

So, I'm a bit stuck. I was going to see if it was a NoConflict jQuery mode issue as described here: https://www.webhostinghero.com/fix-wordpress-jquery-conflict-problem/

But when I looked at the source, it appears that you may have already covered that by using the following around problem code:

jQuery(document).ready(function($) { ... });


So I've ruled that out for now, but I'm still not sure what's causing the slider & jQuery features to not display. If you could take a look at a dummy page here, where the slider should be appearing?

http://www.hanselmanlandscape.com/test-page/

2 Subscribers
Slider/jQuery Pagination not displaying - TypeError: $(...).owlCarousel is not a function 1
Slider/jQuery Pagination not displaying - TypeError: $(...).owlCarousel is not a function 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Slider/jQuery Pagination not displaying - TypeError: $(...).owlCarousel is not a function 4
PickPlugins
Sep 20, 2016
Flag(0)

Welcome to our forum,

i can see owl.carousel.min.js file loaded fine on your website.

www.hanselmanlandscape.com/wp-content/plugins/post-grid/assets/frontend/js/owl.carousel.min.js

Can you please deactivate others plugin or try with another theme and let me know the result.

 

Regards

Slider/jQuery Pagination not displaying - TypeError: $(...).owlCarousel is not a function 5
Anthony
- Sep 21, 2016 02:05 AM
Flag (0)
0

Because it worked with separate themes, I’m just going to rework a child theme based on a more common WordPress default like TwentySixteen. Looks like the original code developer left out a few things and it has become a bit difficult to track down. Thank you for your help up to this point though!

Slider/jQuery Pagination not displaying - TypeError: $(...).owlCarousel is not a function 6
PickPlugins
- Sep 20, 2016 06:55 PM
Flag (0)
0

The issue might be happening because your them might also use owl.carousel.min.js file and loaded from extra js file, can you please send me your theme zip file so i can check the issue ? please send to public.nurhasan@gmail.com Regards

Slider/jQuery Pagination not displaying - TypeError: $(...).owlCarousel is not a function 5
Anthony
- Sep 20, 2016 01:53 AM
Flag (0)
0

Thank you. I was wary of changing too many things, but I systematically went through all of the plugins and disabled, reloaded, and enabled, and nothing happened. BUT, when I changed it to the TwentySixteen theme and loaded the page, it DID work. So, thank you for pointing me in the right direction. What files should I be looking to in TwentySixteen that I can duplicate into my current theme so that I have the proper support/loading order for the theme I’m using? My guess is header.php, footer.php, and functions.php but I suspect there may be something I’m overlooking?

Sign in to Reply
Replying as Submit