My Calendar creates a page for displaying the calendar on installation. This page will be created at https://yourdomain.com/my-calendar/, by default. You can edit this page to add additional content, change the page title, or change the slug using the standard WordPress editing features for a Page.

My Calendar can also be displayed in shortcodes or widgets.

Editing the Main Calendar Options

Located on the bottom of the “My Calendar” page you can find the My Calendar Display Options meta boxes. These options control the display of the calendar on the main page.

Screenshot of the My Calendar Display Options panel in the WordPress content editor.
Meta boxes. My Calendar page – Display Options

Shortcodes are available for creating additional views of the calendar.

Main Calendar Shortcode

The default shortcode for displaying My Calendar. If you wish to display an additional calendar, you can create a custom shortcode and place it on any page of your site. It can be narrowed by category, author, location, host, or a search term so that it shows different events than your main calendar.

[my_calendar]

The above my calendar code is the same as this code, which shows the default parameter values:

[my_calendar category="all" ltype="" lvalue="" format="calendar"
above="" below="" time="month" author="all" host="all" id="" tem-
plate="" year="" month="" day="" search=""]

Content Filters

  • Categories to display.
  • Location filter type by:
    • All locations,
    • Location Name,
    • City,
    • State,
    • Postal Code,
    • Country, or
    • Region.
  • Location filter values – the value to limit to from the above types.
  • Search keyword.
    • Only events that use the keyword will be shown in this view.

Navigation keywords that can be used separated by commas in the “Navigation above calendar” and “Navigation below calendar” fields.

  • toggle – Switch between list and grid views
  • timeframe – Toggle between day, week, and month view
  • jump – Jump to any other month/year
  • nav – Primary Previous/Next Buttons
  • calendar – The calendar
  • key – Categories (multi-selection buttons)
  • print – Link to printable view
  • feeds – iCal Subscription Links
  • exports – iCal Subscription Links
  • locations – Location (dropdown)
  • categories – Categories (single selection dropdown)
  • access – Access (dropdown)
  • search – Search

The attributes will show up in the order they are listed. To remove the navigation add “none”. My Calendar will show the defaults if no attributes are added, but you can modify the defaults in the Settings > Output screen.

Author & Host Filters

  • Limit by Author: only show events published by a specific author.
  • Limit by Host: only show events with a specific host attached.

Formatting & Timeframe

  • Format by: Grid, Card, List or Mini. Choose the initial view that users will see when visiting your calendar.
  • Time Segment: by Month, Next Month, Week or Day. Default time period seen when visiting.
  • Months to show: How many months will be visible by default?

Initial Date Shown

  • Choose the default start date. Set a specific year, month, and day that your calendar will start from. By default, it will start from the current day, but for special cases you can set it to start at an alternate date.

Example Customized Shortcode

[my_calendar above="toggle, nav" below="print, key" format="list" time="week"]

The shortcode:

  • Above calendar: A toggle between list/grid view along with nav previous/next navigation arrows.
  • Below calendar: a link to the printable view and category key.
  • Format: Changed the default grid to list.
  • Time: The calendar defaults to a week view.
View of the calendar list view with two dates having events.
Example output from the example shortcode

Read about the Shortcode Generator: My Calendar > Shortcodes.