you can try to use this code $(‘#wpfc-calendar’).fullCalendar( ‘gotoDate’, 2016 , 4 );
http://fullcalendar.io/docs/current_date/gotoDate/
Thread Starter
lwoods
(@lwoods)
Hi, Angelo,
Thanks for your input. I want to create a different header for each month. In my application I am selling the header space to different advertisers, on for each month. What I ended up doing was to hack the Javascript in order to add an ajax call in order to force a new header for each month. The challenge with using the fullcalendar is that it is ajax-driven so after the calendar is once added to a page you have lost control if it as far as PHP coding, for example. Since I had to hack the Javascript that means that I cannot allow anyone to do an update on fullcalendar because it will destroy my hack. What is needed is a set of hooks so that I don’t have to hack the Javascript.
Oh, well…..
it’s not possible out the box at the moment. it may be possible with custom coding but unfortunately that’s not something we can help with.
Thread Starter
lwoods
(@lwoods)
I have done it but it meant hacking your MINIMIZED Javascript. Not fun. It would be nice if we got a copy of the JS that was not minimized so that hacking would be easier. Better yet, some “hooks” in the JS for mods. It’s possible.