jQuery undefined function in wordpress plugin which creates a fullCalendar
I am creating a plugin which uses the jQuery fullCalender.
The code appears to all be working fine however when the page fully loads and my shortcode populates its appropriate html and javascript I get the following error:
So from this I can gather that jQuery resolves ok - but somehow the calendar does not? Can somebody please help me! It may be because I am using OptimizePress which might be including its own copy of jQuery - and my plugin is also including a copy of jQuery and the calendar. But I dont know how to make sure i reference my own jQuery or make this work.
Thanks!
Solutions
The answer was to use wp_register_script and wp_enqueue_script to add the script to my generated document
Similar questions
Fullcalendar wordpress submit booking
i need creat this calendar i use fullcalendar jquery but i have many problem for integrate on my php page. I need save data for update woo commerce booking or save with submit listing job (wp jobmanager). Thank you for your help
jQuery(document).ready(function($) {
/* initialize the external events
-------------------...
FullCalendar on Wordpress integration - wpdb and json issue
I'm looking for help to use fullcalendar in Wordpress. I'm integrating a schedule from a custom table in phpmyadmin called wp_evenement So, I've two files One with template page, where the calendar is displaying and with the script from fullcalendar. This call an other file called 'events.php' where I'm trying to get json result from database. I tr...
fullcalendar javascript issue - its not showing the events in IE?
On my team website: http://www.berzerkers.org, head over to the Schedule. The calendar is supposed to have a few events listed - it works fine in Firefox, Chrome and Safari - but not in IE...what is the issue? I don't know what to do. Any help would be greatly appreciated! :)
FullCalendar with JSON feed loading slowly
I'm using FullCalendar to load events from custom post types on WP, through a JSON feed. It's working, but it's taking some time to load. Please check here: http://cea3.iscte.pt/en/agenda-3/ (june or august). Do any of you have a clue what can be causing it? This is the full code for the JSON feed: Thank you.
Also ask