call Filter ICS Data before calender is displayed?
-
Hi,
I’m just working on the integration of the ICS Calender, great plugin, works fine.
On our page I like to show a text like “Next event: Super party on *date*” on the top of the page and the calender with all events below.
My idea to realize this was to filter the ICS data by using r34ics_display_calendar_filter_ics_data and saved the next event to a global variable. And to display that global variable in an function called by a new shortcode [nextevent] I made.
This works fine if my [nextevent] is placed AFTER the [ics_calender ..]. If I put the [nextevent] before the calender it doesn’t work – the filter is only called when a calender is displayed.My question is: Can I call the r34ics_display_calendar_filter_ics_data without displaying a calender? Or can I use the [ics_calender ..] with a kind of “view=’none'” parameter?
Thanks
KLaus
- The topic ‘call Filter ICS Data before calender is displayed?’ is closed to new replies.