While Events Calendar Pro provides some calendar widgets that you can add to your site’s sidebars and such, sometimes you don’t want the calendar content in a sidebar—you want it squarely in the content of a post or page directly.
With Events Calendar Pro, you have three main methods for accomplishing the insertion of event content directly into posts and pages:
Inserting Full Calendar Views
You can insert complete calendar views into any post, page, or other post type that allows for shortcodes to be used. This is possible by using the [tribe_events] shortcode. Head over to the official [tribe_events] shortcode guide to learn how to use it.
Inserting Calendar Widget Views
The “Mini Calendar” widget provides a miniature calendar view that, while not as robust as the true “Month View” of the main calendar, can still be quite useful. To insert a miniature calendar view into post or page content, you can use the following shortcode provided by Events Calendar Pro:
Adding this to a page or post (or any custom post type that parses shortcodes) will embed the calendar widget inline, right within the content. This screenshot shows a mini calendar right in the midst of post content:
You can even apply filters to focus on specific categories and tags, just as you might do with the widget itself:
[tribe_mini_calendar category="black-tie-events" tag="members-only"]
You can apply filters in many different ways, in fact. Click here to learn more about all of the [tribe_mini_calendar] shortcode options.
As of WordPress 4.4 and The Events Calendar 4.2, you can embed single events into any WordPress post type’s content. (Please note that this will not work unless you are running WordPress version 4.4 or higher.)
Doing this is very easy: you simply head to the event that you want to embed elsewhere; copy its permalink URL; and then paste this URL into the content of the post or page inside of which you want the event to be inserted. The embed will look something like this, dependent upon your theme’s styles to some degree of course:
If you are using a version of WordPress below 4.4, or a version of The Events Calendar below 4.2, then the above embed features will not be supported.