How to show historical dates ie events in the past…

Some folks have asked if it is possible to show historical dates, or rather some dates in the past.   Many possibilities exist either in the shortcode and in passing parameters via the url.  One can use any of the following:

  • listtype=n
  • days=n
  • events=n
  • start=yyyymmdd
  • startoffset=n (number of days – can be negative)
  • hoursoffset = n (number of hours – can be negative)
  • monthsoffset=n (number of months – can be negative, will override days and hours)

So to start any event calendar from 30 days in the past, add startoffset=-30 to the shortcode separated by spaces.

Note: The default css will show the historical dates as slightly greyed out.

About anmari

the developer at anmari
This entry was posted in How To. Bookmark the permalink.