- This topic has 7 replies, 3 voices, and was last updated 11 years, 6 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore not working with my theme
Tagged: Javascript error, type error
I have big problems getting the plugin WP eStore working with my theme:
I get a:
TypeError: $ is not a function
if ($(window).width() > 700
See [http://dawnnorge.lx02.bitfarm.no/]
What are the conditions that create the error?
What exactly is the complete error message?
What theme are you using?
If you temporaraly switch to another theme, does the error go away?
The theme
Incipiens Responsive Portfolio WordPress Theme
[http://themeforest.net/item/incipiens-responsive-portfolio-wordpress-theme/2762691?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=mad_dog]
It is the slider that don’t work, and yes it is conflict between the plugin and the theme.
It is something in the images setting in the plugin.
TypeError: $ is not a function
if ($(window).width() > 700
This theme has some JavaScript errors. Please fix them first… the following post has some help:
https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site
The error comes because of the plugin?
We test all our plugins and make sure there are no JavaScript error(s). So I know that WP eStore plugin won’t introduce them.
Please do the theme test mentioned here for me:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
Hi, The problem is in the eStore_includes.php
The plugins use jQuery.noConflict() that is creating the trouble for other plugin that uses jquery… Can you plaese make an update that literature are a more up to date.
http://api.jquery.com/jQuery.noConflict/
“If for some reason two versions of jQuery are loaded (which is not recommended), calling $.noConflict(true) from the second version will return the globally scoped jQuery variables to those of the first version.”
Ergo, somehow 2 conflicting versions of the jQuery library are being loaded.
Perhaps, this might help identify how this condition is happening.