Title: Javascript code to load in footer?
Last modified: July 6, 2017

---

# Javascript code to load in footer?

 *  Resolved [Mick Levin](https://wordpress.org/support/users/mick-levin/)
 * (@mick-levin)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-code-to-load-in-footer/)
 * Hello,
 * I noticed that the code produces the javascript code, and inserts it into HTML
   right after the markup for the calendar itself. The javascript code uses jQuery.
   However in a case of jQuery loading in footer, that output produces error in 
   console, and the page does not show any calendar rendering.
 * The PHP code does not try to use filters or actions, and does not allow overloading
   the function which outputs both calendar and javascript code.
 * Thus it’s hard to add any additional code to the theme as a solution to separate
   the calendar markup from javascript code.
 * Do you have any plans to uplift the PHP code and allow proper javascript inclusion,
   or at least allow pluggable filters or actions?
 * Sincerely,
    Mick.

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

 *  Plugin Contributor [WD Support](https://wordpress.org/support/users/wdsupport/)
 * (@wdsupport)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-code-to-load-in-footer/#post-9293711)
 * Hi [@mick-levin](https://wordpress.org/support/users/mick-levin/),
 * Thank you for posting on our forum.
 * We are very sorry for the inconvenience with the plugin. Please, contact our 
   Support Team filling the [form](https://web-dorado.com/support/contact-us.html).
 * I should kindly ask you to mention the forum post URL.
 *  Thread Starter [Mick Levin](https://wordpress.org/support/users/mick-levin/)
 * (@mick-levin)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-code-to-load-in-footer/#post-9297147)
 * Thank you support.

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

The topic ‘Javascript code to load in footer?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/spider-event-calendar_436178.svg)
 * [SpiderCalendar](https://wordpress.org/plugins/spider-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/spider-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/spider-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/spider-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/spider-event-calendar/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mick Levin](https://wordpress.org/support/users/mick-levin/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-code-to-load-in-footer/#post-9297147)
 * Status: resolved