• Resolved Tom

    (@atomiktd)


    It must be something simple but I cannot get it.

    I have a problem with “WordPress CountDown Pro – WebSites/Products Launch” plugin.

    It refuses to work with “Aggregate JS-files” on.

    It works fine without it.
    I tried to exclude the plugin’s .js file but to no avail.

    What should I do? I don’t want to switch off this option for the whole site only because one plugin refuses to work.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    hey Tom; what JavaScript error(s) do you see on the browser console when “aggregate JS” is on?

    Thread Starter Tom

    (@atomiktd)

    Good point.

    I compared before/after and what I discovered is 3 errors “Uncaught ReferenceError: jQuery is not defined”. Two in index.php and one in circularCountdown.js which is plugin’s file itself.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, I guess you might have removed the default JS exclusions, which has js/jquery/jquery.min.js in it, maybe re-add that to the comma-separated exclusion list, purge page cache(s) and re-test?

    Thread Starter Tom

    (@atomiktd)

    You’re probably right because there is a lot of leftovers in that field.
    After a short investigation I guess it should read:

    wp-includes/js/dist/,wp-includes/js/tinymce/,js/jquery/jquery.js,wp-content/plugins/circular_countdown/circular_countdown/js/circularCountdown.js

    but still, it doesn’t work ??

    Thread Starter Tom

    (@atomiktd)

    It started to work without any additions but with jquery.min.js instead of jquery.js as many manuals say.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    yeah, WordPress changed the filename from jquery.js to jquery.min.js a couple of releases ago. but all is well that ends well ??

    Thread Starter Tom

    (@atomiktd)

    Correct. Thank you for your prompt replies!
    Problem solved.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

    Thread Starter Tom

    (@atomiktd)

    You’re the best!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘problem with aggregate JS-files’ is closed to new replies.