[xyz-ihs snippet=”Events-Calendar-Shortcode-tutorial”]
Events Calendar PRO Shortcodes >>
[tribe_mini_calendar]
[tribe_events_list]
[tribe_featured_venue]
[tribe_event_countdown]
[tribe_this_week]
We tested several of these shortcodes and found three that can be useful for event roundup posts and guides, a resource many of our sites publish either monthly or weekly.
Instead of curating a blog post or page with listed events and links, a shortcode will pull directly from the event in your Events Calendar and populate the post based on the conditions of the shortcode.
Upcoming Events
[tribe_events]
- view=”X”
- month, list, day, photo, week, map
- category=”X”
- categories=”X, Y, Z”
- tribe-bar=”true”
- can be “true” or “false” to display or hide
- featured=”true”
- can be “true” or “false”
- date=”X”
- Month view: yyyy-mm-dd or yyyy-mm
- Day view: yyyy-mm-dd
- Week view: yyyy-mm-dd or yyyy-mm
- List view: yyyy-mm-dd or yyyy-mm
[tribe_events view=”list” limit=”20″ date=”2017-12″]
Events List
[tribe_events_list]
- Defaults to current date for listed events
- limit=”X”
- X = the max number of events displayed
- category=”name”
- name = replace this with a specific category to use it like a filter
- categories=”name1, name2, name3″
- this format is for pulling multiple categories. Replace name1, name2, name3, or more with the names of the categories.
- venue=”yes”
- Any of these options can be displayed or not by adding them in to the shortcode:
- venue, country, address, city, region, zip, phone, cost, organizer
[tribe_events_list limit=”15″ address=”yes”]
Tribe This Week
[tribe_this_week]
- layout=”vertical”
- start_date=”mm-dd-yyyy”
- week_offset=”X”
- X = number of weeks in the future, 1 shows next week, 52 shows next year
- hide_weekends=”true”
- This will hide Saturday and Sunday events
- category=”name”
- name = replace this with a specific category to use it like a filter
- categories=”name1, name2, name3″
- this format is for pulling multiple categories. Replace name1, name2, name3, or more with the names of the categories.
- highlight_color=”#000000″
- Edit the color of the highlighted event to a custom color code
- count=”X”
- X = number of events to display per day
[tribe_this_week layout=”vertical” count=”3″]
Events Calendar PRO Resources
SaveSave