Adding a calendar with the Elementor widget
GravityCalendar includes an Elementor widget, so you can place a calendar on a page without pasting a shortcode. The calendar renders in the Elementor editor as you build the page.
You need Elementor active and at least one active calendar. If you haven’t created one yet, start with Getting Started with GravityCalendar.
Adding the widget #
Edit a page with Elementor, then search for Calendar in the Elements panel. Drag the GravityCalendar widget onto the page.

Until you choose a calendar, the widget shows a placeholder.

Choosing a calendar #
On the Content tab, open the Calendar Feed list and pick the calendar to show. Calendars are grouped under the name of their form, which is greyed out and can’t be selected. The list leaves out deactivated calendars.

The calendar replaces the placeholder as soon as you choose one, and updates whenever you switch calendars.
Setting the height #
On the Style tab, use Height to size this calendar. It accepts pixels (px), percentages (%), viewport height (vh), em and rem.

The height applies to this widget only, so the same calendar can be short in one place and tall in another without creating a second calendar. Leave it empty to use the height set on the calendar itself.
Note: The calendar’s size depends on the element around it and on your theme’s styles, so it can look different in the editor than on the published page. Check the published page for the final result.
Secured calendars #
If the calendar has Enable security for this calendar turned on, the widget adds the calendar’s secret for you, so there is nothing to copy or paste. It does this only for people who can edit calendars, which means users who can edit Gravity Forms forms (administrators, by default):
- In the Elementor editor, a secured calendar shows only for those users. For anyone else, such as a user with the Editor role, the widget stays empty.
- On the published page, a secured calendar shows only if the page was last saved by someone who can edit calendars. After a save by anyone else, visitors see nothing where the calendar was. To bring it back, an administrator opens the page in Elementor, makes a change and clicks Publish.
The widget saves only which calendar you picked, and it works out the secret each time the page is displayed. For shortcodes, see Calendars with security turned on.
A widget that shows a calendar you later deactivate shows nothing to visitors. Users who can edit forms see a message on the page with a link to turn the calendar back on.
Other ways to display a calendar #
- Displaying a calendar: every method, including the block, shortcode and widget areas
- GravityCalendar blocks: the WordPress block editor equivalents
- Calendar Shortcodes: for placing a calendar anywhere shortcodes run