WordPress.org

Forums

Google Calendar Events
[resolved] jQuery is not defined error (3 posts)

  1. Chet
    Member
    Posted 1 year ago #

    Hey. Love the plugin, but I have recently run into trouble with it. I have a calendar grid on a page, but the Ajax function isn't working. Console shows a "jQuery is not defined" error.

    Thanks!

    https://peakdems.org/events/

    https://wordpress.org/plugins/google-calendar-events/

  2. Ross Hanney
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hello,

    The problem is that, on your site, jQuery is being loaded in the footer of the page, rather than in the <head>. My plugin expects it to be loaded in the <head> (which it probably shouldn't, really).

    By default, jQuery should be loaded in the <head>. It seems that another plugin or your theme is moving all JavaScript to the footer.

  3. Chet
    Member
    Posted 1 year ago #

    I am moving the jquery to the footer. Thanks for the quick reply!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Calendar Events
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.