All Collections
Events Calendar
Events Organiser Shortcode Usage
Events Organiser Shortcode Usage
Updated over a week ago

A shortcode is a small piece of code, indicated by brackets like [this], that performs a dedicated function on your site. You can place it just about anywhere you’d like, and it will add a specific feature to your page, post, or other content.

The Events Organiser plugin offers a shortcode to display your calendar information. Here are a couple of common shortcodes you can use:

Add a Monthly Calendar

For any Essentials or Premium plan webpage, you can add the code below to a webpage or post and the page will display the Monthly calendar.

[eo_fullcalendar headerLeft='prev,next title' headerCenter='' headerRight='today month,agendaWeek']

Here is what will appear on the page or post:

OR insert this code to see your Event Categories if using

[eo_fullcalendar headerLeft='prev,next title' headerCenter='' headerRight=' category']

[eo_fullcalendar headerLeft='prev,next title, today month,agendaWeek' headerCenter='' headerRight=' category']

Add a List Calendar

For any Essentials or Premium plan webpages, you can add the code below to a webpage or post and the page will display the List calendar. As you can see you can adjust how many events can appear (numberposts="3") and you can choose to not show past events (showpastevents="false") and surround it with linking HTML code.

[eo_events numberposts="3" showpastevents="false"] <a href="%event_url%">%start{F j, Y}% %event_title%</a> [/eo_events]

Here is what will appear on the page or post:

More Shortcodes by Events Organiser

If you are interested in other ways to modify the view, you can find more documentation here: http://docs.wp-event-organiser.com/shortcodes/calendar/

Did this answer your question?