• Hi all, it’ s the second time that I update the theme and immediately some applications/plugin does not work. In the specific the plugin is Colio and it use a different version of jQuery so it does not work properly.
    I contacted trhe staff of Colio but I got no answer….
    There is something I can do to avoid/fix this problem?

    Thank you very much

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter mrzpro

    (@mrzpro)

    Hi, I tried to use any solutions from the above mentioned link but no one works…..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You need to show us the page with the issue

    Thread Starter mrzpro

    (@mrzpro)

    No problem these are some links:
    Palazzi
    Museo Diocesano
    Chiese

    under the item Media you’ ll find all the not working pages, they do not zoom (lightbox) images and not filter images using the related menu.

    Thread Starter mrzpro

    (@mrzpro)

    if you need I can send credentials to analyze back office data…

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It is wrong for a plugin to use a different version of jQuery, so that every other plugin or theme that correctly uses WordPress’ jQuery version will have to be changed.

    You’re looking at this the wrong way. The plugin is the one with the issue.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Here are some fancybox alternatives they do not use their own versions of jQuery https://wordpress.org/plugins/search.php?q=fancybox

    Thread Starter mrzpro

    (@mrzpro)

    Hi Andrew I’m trying to have a solution to my problem and, three days ago I contacted also plugin author but till now I have no answer and this means my site is working really bad….
    What can I do to fix my problem?

    Thread Starter mrzpro

    (@mrzpro)

    Maybe is not clear but I’ m using a plugin named “Colio” that is a little bit more complete than fancybox itself and, this Colio does not work properly with new Customizr version. As said before I tried to contact also plugin author but no answers….

    I’ve flagged to Developers.

    Hello,
    you can avoid loading the theme’s fancybox by disabling the following two options:
    Appearance -> Customize -> Content .. -> Galleries -> Enable Lightbox effect in galleries
    Appearance -> Customize -> Global settings -> Image settings -> Lightbox effect on images

    Hope this helps.

    Thread Starter mrzpro

    (@mrzpro)

    Thank you d4z_c0nf, all the settings are already in that way….

    From your page I can see that theme’s fancybox is enabled:
    var TCParams = {"_disabled":[],"FancyBoxState":"1","FancyBoxAutoscale":"1","SliderName":"","SliderDelay":"","SliderHover":"1","centerSliderImg":"1","SmoothScroll":{"Enabled":true,"Options":[]},"anchorSmoothScroll":"linear",

    that FancyBoxState set to 1

    Are you sure they’re both disabled?
    Do you have any caching plugin?

    When both are disabled that param is set to “” and the js file isn’t enqueued.

    Do you have any copy of the parent theme files in your child theme?

    Cannot reproduce the issue.
    There must be some weirdness in your db option row.
    You can, anyway, force those settings via code adding the following to your child-theme functions.php:

    add_filter('tc_opt_tc_fancybox', '__return_false');
    add_filter('tc_opt_tc_gallery_fancybox', '__return_false');

    (always assuming you don’t have old core php files copied in your child-theme, like e.g. inc/class-fire-resources.php):

    or:

    //dequeue the fb script
    add_action('wp_print_scripts', 'dequeue_fancybox_script');
    //dequeue the fb style
    add_action('wp_print_styles', 'dequeue_fancybox_style');
    //force fancybox state js param to false
    add_filter('tc_customizr_script_params', 'force_js_fancybox_to_false');
    function dequeue_fancybox_script(){
      wp_dequeue_script('tc-fancybox');
    }
    function dequeue_fancybox_style(){
      wp_dequeue_style('fancyboxcss');
    }
    function force_js_fancybox_to_false( $params ) {
      if ( array_key_exists('FancyBoxState', $params ) )
        $params['FancyBoxState'] = 0;
      return $params;
    }

    Hope this helps

    Thread Starter mrzpro

    (@mrzpro)

    Hi d4z_c0nf, both solutions seem work partially. This because in the beginning all the images disappear as if there is nothing in the page while, clicking on a filter list item it works properly and when you deselect filter clicking on “x” it is OK.

    You can see everything by yourself goin into Media and select any item of “Ieri” or “Oggi”…..

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘JQuery conflict’ is closed to new replies.