skip to Main Content

Outlook Calendar Display for WordPress – Shortcode

[ o365_outlook_events]

Parameter Description Sample Required Bound to an attribute or template Attribute or Template Name
calendarid Outlook Calendar ID calendarid=”xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” X
userid Azure user id, calendar events will show based on this user, it can be configured in o365 settings tab as well userid =”xxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxxxxx” X
template Outlook Calendar ID template=”calendar_tpl.php” X
mthviewdaylimit Limit the number of events for a date column in calendar view mthviewdaylimit=”3″
columns columns those will fetched using rest api columns=”start,end,location,body,subject,categories,id,isAllDay”
fromdate Date from where events will fetched (will not work in calendar tempalte) fromdate=”2018-03-02″
todate (will not work in calendar tempalte) Date till events will fetched todate=”2019-12-02″
maxresults number of events will fetched maxresults=”999″
timezone Events date time will set based on mentioned timezone timezone=”US/Eastern”
userbinding Show data to logged in or guest users userbinding=”no”
attachment Fetch attachements with event data attachment=’yes’
id HTML Container ID id=”outlook_cal_o365″
showcountdown Show event date counter on single page showcountdown=’yes’
type Show future events only type=”future” X list templates
showreadmore Show Read More link with events in list view showreadmore=”yes” X list templates
attachfile Show attachment file link on single event page attachfile=”yes”
category Filter the events based on categories(comma separatered values) category=”Red category, Orange”
filter Filter the events based on query but will not work if category filter added filter=”startswith(subject, ‘all’)”

Back To Top