Skip to content

[eme_calendar]

24-Jan-11

[eme_calendar]

As the eme_get_calendar template tag does, this shows a calendar in the page where you put this shortcode. It accepts the following parameters:

  • full indicates you want to show the large calendar, don’t use this in sidebar widgets. Defaults to false. Possible values: 0 or false, 1 or true
  • month indicates the month you wish to display. Defaults to the current month.
  • year indicates indicates the year the calendar will use to display a month of. Defaults to the current year.
  • long_events: if set to 0 or false, events will only be shown on their startdate, if 1 or true events spanning multiple days will be shown on each of those days. Defaults to false.
  • category limits the events shown to those of a certain category ID. You can also use OR and AND for multiple categories: “1,3″ (category 1 OR 3) or “1+3″ (category 1 AND 3)
  • location_id limits the events shown to those of a certain location ID. You can also use OR and AND for multiple locations: “1,3″ (location 1 OR 3) or “1+3″ (location 1 AND 3)
  • contact_person limits the events shown to those of a certain contact person (loginname). You can specify multiple contact persons for OR limitations: “admin,admin2″ for events whose contact persons are user admin OR user admin2

Example:
[eme_calendar full=1]