Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › jQuery script from WP eStore plugin needs to be modified – where can I do this?
Tagged: Divi Theme
- This topic has 6 replies, 2 voices, and was last updated 5 years, 11 months ago by wzp.
-
AuthorPosts
-
November 2, 2018 at 5:03 am #15187SantoshBMember
My pages are returning an error in the theme I am using and it is related to the way that the WP eStore plugin in writing a jQuery script
I am told by the theme support team that the script should change the highlighted part $ with Jquery
jQuery.noConflict(); jQuery(document).ready(function($) { $(function() { if ($(‘.t-and-c’).length )
Where can I change this is the WP estore plugin?
November 2, 2018 at 8:43 pm #78777wzpModeratorWhat theme, pray tell, are you using? And what is the specific EXACT error message?
November 3, 2018 at 10:37 am #78778SantoshBMemberThe theme is Divi, and the page is here: [http://www.turbo-chart.com/customer_stories/]
The errors occurs when working with the theme editor, not by simply viewing the page and says “TypeError: $ is not a function”
Their support suggested this:
” jQuery.noConflict(); jQuery(document).ready(function($) { $(function() { if ($(‘.t-and-c’).length )
Please change the highlighted part $ with Jquery.”
When viewing the page source, the <script> section generating the above is from WP eStore.
But WP eStore has not updated recently, so I suspect the issue lies with Divi also?
November 3, 2018 at 10:40 am #78779SantoshBMemberShould also add, deactivating WP eStore stops the error occurring.
November 3, 2018 at 1:07 pm #78780wzpModeratorWhen I visit the URL you gave, I see NO error messages. Did you fix the issue?
But WP eStore has not updated recently…
To download the latest build of the plugins:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
November 4, 2018 at 10:51 am #78781SantoshBMemberAs I noted “The errors occurs when working with the theme editor, not by simply viewing the page”. So the errors only occur when you login and invoke the theme editor.
I’ll try the latest, if this doesn’t work I’ll give up, deactivate and try another solution. I’ll retain the plugin for potential use on a different site.
November 4, 2018 at 12:56 pm #78782wzpModeratorDivi has a “history” of incompatibilities with our plugins. Two factors, both under their control, are major contributors to the situation:
- Violation of WordPress theme/plugin integration & coupling guidelines.
https://www.tipsandtricks-hq.com/wordpress-system-integration-101-3100
- Constant “feature creep” in their product, that “breaks things.”
https://support.tipsandtricks-hq.com/forums/topic/wp-affiliate-divi-theme-total-breakdown
Elegant Themes is not the only vendor with incompatibility issues:
- Violation of WordPress theme/plugin integration & coupling guidelines.
-
AuthorPosts
- You must be logged in to reply to this topic.