Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi candell,

    Can you please provide a link to your site so I can take a look.

    Many thanks

    Peter

    Thread Starter candell

    (@candell)

    Hi Candell,

    Thanks for this.

    Can you let me know where I need to go to see the conflict appearing as it is not apparent to me from looking at the site.

    Many thanks

    Peter

    Thread Starter candell

    (@candell)

    Hi Peter

    On the link I provided, if you resize the browser window you will see the menu working fine but the mixitup items just do not show.

    In dev tools, remove the responsive menu code and the items to filter show up fine.

    There is something within the responsive menu js that is stopping the filtering action.

    Thanks

    Hi candell,

    It appears that the menu is not currently installed on the site, at least not anymore.

    As such, I am unable to debug this issue for you. Please let me know if you have decided to use another menu and if not please provide me with a page that my plugin is installed on still so I can look at it for you.

    Many thanks

    Peter

    Thread Starter candell

    (@candell)

    HI Peter

    I had to deactivate temporarily sorry about that. It is back in place now, the test link above is still valid or the real link is at http://www.peaktipis.co.uk/testimonials/

    Thanks

    Your code uses the global $ variable — which is not a good practice. It worked only because your theme replaces the jQuery file loaded by WordPress with jQuery from Google CDN — also poor practice. It’s poor practice because WordPress loads jQuery in “noConflict” mode (which does not associate the $ variable with jQuery), and some plugins rely on noConflict mode.

    The Responsive Menu plugin breaks your code because it re-activates jQuery’s noConflict mode.

    Your fix: replace $ with jQuery in this code:

    $(function(){
      $('#testimonial-container-demo').mixItUp();
    });

    Thread Starter candell

    (@candell)

    Thank you for the help, the years I have been using jQuery and never knew that.

    All sorted and I learnt something new, thanks.

    Hi Candell/smhmic,

    Thanks very much smhmic for clarifying the above before I got a chance to look at it.

    Candell, great that you got it working with his help too.

    Thanks very much guys, good to see the community working well!

    Many thanks

    Peter

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Conflict with mixitup jquery plugin’ is closed to new replies.