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.
- The topic ‘Javascript code to load in footer?’ is closed to new replies.