Calendar

Calendar is a shortcode for displaying events on a full-sized calendar.

[we_calendar defaultdate="" cat="" view="" viewas_button="" style="" firstday="" orderby="" show_ical="" cat_list="" tag_list="" loc_list="" spk_list=""]

  • defaultdate: Ex:defaultdate="2025-05-19" The initial date displayed when the calendar first loads. When not specified, this value defaults to the current date.
  • ids – List of IDs to query, separated by a comma
  • ex_ids – Exclude List post IDs to retrieve, separated by a comma
  • cat – List of category ids (or slug), separated by a comma
  • view – Select view mode of calendar
    • Month: view=""
    • Basic Week: view="basicWeek"
    • Agenda Week: view="agendaWeek"
    • Basic Day: view="basicDay"
    • Agenda Day: view="agendaDay"
    • List Month: view="listMonth"
    • List Year: view="listYear"

  • viewas_button - Choose view as button to show in calendar, WooEvent has support 4 view as button: month,basicWeek,agendaWeek,basicDay,agendaDay,listMonth,listYear
  • Example: viewas_button="month,agendaWeek,basicDay,listYear"
  • style - Calendar Month Style, Select between classic (style="") or modern (style="modern")
  • firstday - The day that each week begins, Select between 1 > 7, example: firstday="2" to display week begin from Tuesday
  • orderby - Calendar Month Style, Select between Default (orderby="") or Upcoming (orderby="upcoming") or past (orderby="past")
  • show_ical - Show Ical export button, Select between No (show_ical="") or Yes (show_ical="yes")
  • cat_list - List of category id separated by a comma to show in select box filter, leave blank to show all, enter hide (cat_list="hide") to hide this box
  • tag_list - List of Tags id separated by a comma to show in select box filter, leave blank to show all, enter (tag_list="hide") to hide this box
  • loc_list - List of Venues id to show in select box filter, leave blank to show all, enter (loc_list="hide") to hide this box
  • spk_list - List of Speaker id to show in select box filter, leave blank to show all, enter (spk_list="hide") to hide this box

Other Parameters:

  • cat="" - List of cat ID (or slug) to query, separated by a comma
  • taxonomy="" - Enter name of custom Taxonomy to query
  • terms="" - List of Terms ID (or slug) of custom taxonomy, separated by a comma
  • speaker_id="" - Enter speaker id to query
  • mintime - Determines the first time slot that will be displayed for each day, default 00:00:00 (only use for weekly view)
  • maxtime - Determines the last time slot that will be displayed for each day, default 24:00:00 (only use for weekly view)

Was this page helpful?