• Resolved pop8y8sec

    (@pop8y8sec)


    Hi,

    I have a need to animate my pages using the wow.js and animate.css libraries but my Responsive menu plugin is stopping it working within the WordPress editor. If I disbale the plugin wow.js and animate.css work perfectly.

    Would enqueuing the responsive menu plugin work? I have already used the option to add it to the footer but that didn’t fix the issue. I am also using the “Use external scripts” option.

    Please – any support would be greatly appreciated.

    Best regards,

    Oliver

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi Oliver,

    Unfortunately this is very difficult to debug or advise on without something to look at or steps to recreate it.

    When you say WordPress editor do you mean the Responsive Menu admin page?

    If so, can’t you disable wow.js from loading on tbat page.

    Also, if its a javascript issue then there will normally be useful error messages in your console, please can you provide any.

    All the best

    Thread Starter pop8y8sec

    (@pop8y8sec)

    Hi there,

    When I say wp editor I mean the Page editor. Sorry for the confusion.

    I will attempt to grab any error messages later today and post them here.

    Best regards,
    Oliver

    Thread Starter pop8y8sec

    (@pop8y8sec)

    I ran JavaScript console in Google Chrome and it says…

    main.js:21 Uncaught TypeError: $(...).matchHeight is not a function
        at Object.2 (http://localhost:8888/wp-content/themes/kupo-dev/assets/js/main.js:21:13)
        at s (http://localhost:8888/wp-content/themes/kupo-dev/assets/js/main.js:1:254)
        at http://localhost:8888/wp-content/themes/kupo-dev/assets/js/main.js:1:305
        at HTMLDocument.<anonymous> (http://localhost:8888/wp-content/themes/kupo-dev/assets/js/main.js:6:2)
        at j (https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js:2:26925)
        at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js:2:27738)
        at Function.ready (https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js:2:29532)
        at HTMLDocument.I (https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js:2:29723)

    Here is a link to main.js for you.

    Is that all you needed?

    Oliver

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey Oliver,

    You have your error listed there that you will need to fix:

    main.js:21 Uncaught TypeError: $(...).matchHeight is not a function

    I’m not sure who created the main.js file but it is saying that matchHeight is not a valid function and as such you will need to speak to the author of this script for a solution.

    Hope that helps

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Stops wow.js working’ is closed to new replies.