• Resolved ITS Alaska

    (@itsalaska)


    A lot of out clients have been asking for a calendar category to be selected by default. I’ve come up with a simple JavaScript that I hope you can implement in the plugin. The JavaScript goes as follows:

    window.onload=function(){
      document.getElementById("aec-filter").getElementsByClassName("catX")[0].click();
    }

    It could be added to the shortcode as [calendar default=CAT_ID] or something similar. I think a lot of people would find this feature useful, and I’m sure it’d take no longer than 20 minutes for you to add.

    https://www.ads-software.com/extend/plugins/ajax-event-calendar/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin Addition – Default Category (code included)’ is closed to new replies.