If you are even a somewhat experienced user of WordPress, you must be quite familiar with the word ‘Shortcode‘ by now. Which is understandable. Shortcodes are the most common and effective way to display dynamic plugin content on a static WordPress web page. And if you are looking for the right Shortcodes to display an event calendar on your WordPress site, then this is the perfect blog post to read.
Today we are going to discuss a few essential shortcodes to setup an event calendar for your WordPress events. But first, this will require us to have an event calendar plugin in the WordPress backend. That means we are going to use the EventPrime – Events Calendar plugin for WordPress.
Installation and Activation
To install and activate EventPrime, visit the ‘Add New‘ page in the WordPress Dashboard that is under the ‘Plugins‘ menu. On this page, search for ‘EventPrime‘. When the search result appears, click on the ‘Install‘ button next to EventPrime’s plugin description. Once installed, click on the ‘Activate‘ button.
EventPrime is now installed and activated on your site to create and manage events. On the backend, it is quite straight forward to use it. You’ll be taken to EventPrime’s ‘Events’ page automatically upon activation of the plugin.
Still, if you are on any other backend page, just click on the ‘EventPrime‘ menu to begin using it. For the frontend, the process is as simple. EventPrime provides a complete set of shortcodes to create your events calendar system on the frontend.
Not only that, EventPrime creates these page for you itself. So that all you have to do is tweak these pages to add your desired content. EventPrime’s shortcodes will continue to render the event calendar.
WordPress Event Calendar Shortcodes
EventPrime provides you the following shortcodes for a proper events calendar frontend…
- [em_events] – This is the main shortcode of EventPrime as it will render the events calendar on the frontend. From the events calendar, the user can reach all other pages associated with events, such as Event Types, Event Sites, Performers etc.
- [em_event_types] – This is the directory for all the event types you have on your site. Clicking on an event type from the directory will open the single event type page, where a user can see all current and upcoming events that belong to that event type.
- [em_performers] – This is the directory for all event performers. Clicking on a performer from the directory will open the single performer page, where a user can see all current and upcoming events in which this performer is performing.
- [em_sites] – This is the directory for all event sites & locations. Clicking on an event site from the directory will open the single event site page, where a user can see all current and upcoming events held at this event site.
- [em_profile] – Use this shortcode on the page where you’d like your event attendees to login and manage their event bookings.
EventPrime automatically establishes a connection between these pages. So that when a user clicks on a performer or event site, he/she will be lead to its correct page. If in any case, you want to change these pages to pages where you have added the shortcode yourself, simply change the pages from EventPrime’s Global Settings → Default Pages.
More Than Just an Events Calendar
Now that you have seen what these shortcodes can do, I doubt you’ll need any thing else to setup your very own WordPress event calendar. Just download and activate the EventPrime- Events Calendar plugin and you are good to go. And this is just what the basic functionality of the plugin offers, there’s a lot to EventPrime. Head over to over to the Extensions section to see the modules you can add to EventPrime to enhance its functionality even further.