Theme – Custom Javascript Issue? - by erinok

This topic has 4 replies, 2 voices, and was last updated 7 years ago ago by Rose Tyler

  • Avatar: erinok
    erinok
    Participant
    March 22, 2017 at 01:22

    My client Essential 3 has been developing a site based on Woo Press for quite some time now. We are very close to launch but have encountered a tricky issue with a mandatory plugin.

    https://codecanyon.net/item/woocommerce-prices-by-user-role/8562616

    Many hours of trouble-shooting have been spent between my programmer and the plugin programmers, who discovered the following:

    ***

    We’ve done an investigation on the issue you’ve described and from what we can see the WooPress – 8theme is causing conflicts, as this theme is ignoring a codex rule:

    “Do not try to use your own version of a JavaScript library that is already bundled with WordPress. Doing so may break core functionality and conflict with plugins.”

    https://developer.wordpress.org/themes/advanced-topics/javascript-best-practices/

    Please try to reach the theme author to fix the issue in general.

    ***

    We are at a place where we may need to abandon this theme and look for something else, but my hope is that you might be able to provide assistance. Is there any way the theme can use the standard Javascript?

    Thank you, Erin

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 23, 2017 at 09:32

    Hello,

    Please go to framework/theme-functions.php and comment out this code http://prnt.sc/enetqj

    Regards,
    Rose Tyler.

    Avatar: erinok
    erinok
    Participant
    March 24, 2017 at 01:56

    Thank you so much. My programmer followed the directions but it did not help the situation. Any other ideas…?

    Thank you, Erin

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 24, 2017 at 11:32

    Hello,

    Could you clarify what exactly our script case the problem?
    Because now we can only suggest checking all of these:
    http://prnt.sc/enuz6s
    http://prnt.sc/enuzpv
    framework/theme-functions.php
    http://prnt.sc/env0wl
    option-tree/includes/ot-functions-admin.php
    http://prntscr.com/env1xt
    vc_templates/vc_tabs.php
    framework/vc.php
    http://prntscr.com/env2qz

    Regards,
    Rose Tyler.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.