Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore not working with my theme
Tagged: Javascript error, type error
- This topic has 7 replies, 3 voices, and was last updated 12 years, 6 months ago by
wzp.
-
AuthorPosts
-
May 10, 2013 at 7:51 am #9052
Morfjord
MemberI 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/]
May 10, 2013 at 2:26 pm #55514wzp
ModeratorWhat 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?
May 10, 2013 at 6:09 pm #55515Morfjord
MemberThe 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
May 10, 2013 at 10:53 pm #55516admin
KeymasterThis 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
May 11, 2013 at 12:08 pm #55517Morfjord
MemberThe error comes because of the plugin?
May 11, 2013 at 1:18 pm #55518admin
KeymasterWe 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
May 25, 2013 at 1:05 pm #55519Morfjord
MemberHi, 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.
May 25, 2013 at 2:14 pm #55520wzp
Moderatorhttp://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.
-
AuthorPosts
- You must be logged in to reply to this topic.