Viewing 1 post (of 1 total)
  • Author
  • #21250

    I wrote a piece of code to enable ajax filtering events in the calendar view.
    I enabled it for categories and organisers, but is easy to extend it to the rest of its taxonomies.

    Don’t know if it is interesting to add it to the plugin, just posting.
    The code consists in:

    • A php template with the lists of terms links and the calendar
    • Two js functions: One to handle the clicks on the terms, the other one to perform the ajax call and rerender the calendar
    • Two php functions to handle the ajax request, which very much replicate the code in the calendar shortcode of the original plugin
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.