Support » Plugin: Archives Calendar Widget » jQuery sync

  • Resolved etruel

    (@etruel)


    hi there,
    I really like this plugin. Thank you very much to the author

    I recently had a problem with jQuery, which was loaded after jquery.archivesCW.min.js then had a javascript error on the page.

    I solved it by changing the file archives-calendar.php
    line 144
    wp_register_script( 'archivesCW', plugins_url(). '/archives-calendar-widget/jquery.archivesCW.min.js');

    by:
    wp_register_script( 'archivesCW', plugins_url(). '/archives-calendar-widget/jquery.archivesCW.min.js' ,array( 'jquery' ));

    this force wp to load jQuery before archivesCW.
    Hope this help

    https://wordpress.org/plugins/archives-calendar-widget/

Viewing 1 replies (of 1 total)
  • Plugin Author alek

    (@alekart)

    Hi,
    Thanks for using my plugin 🙂

    Thank you for the information, this problem has already been reported and has been corrected in the development version.
    The fix and some new cool features will come soon in the next update.

Viewing 1 replies (of 1 total)
  • The topic ‘jQuery sync’ is closed to new replies.