![]() Or you can specify either the from or the to date, and optionally add futureonly to only show future events: ![]() Show events between a certain date range. Type 'current' for displaying current year only or futureonly='true' for future events only, ie. With the pro version you can also specify futureonly="true" to only display upcoming events or hide_finished="true" if using key="start date" (to get events based on the start date). Type 'current' for displaying current month only or 'next' for the next, ie: ![]() For others you'll need to customize the design with these instructions. Default to title, thumbnail, excerpt, date, venue. Useful if you'd like to show some events from a certain category, tag, venue etc, then point to another page showing additional events from that subset. viewall_link pro onlyĪllows the 'View all' link to go to another page. cost pro onlyĪdd the cost to the event listing in the default design:ĭetermines whether to show 'View all events' or not. Defaults to 'There are no upcoming events at this time.' Message to show when there are no events. You can also use thumbwidth and thumbheight to customize the thumbnail size Specify the size using thumbsize (defaults to medium) To show or hide thumbnail/featured image. Can also use raw_description with it to avoid removing any formatting and links. Use the full event description for the excerpt rather than the WordPress excerpt or short description. Uses the raw excerpt rather than stripping any HTML from it or modifying the result in any way. To show or hide the excerpt and set excerpt length, which is useful for displaying a short event description. To show the start time only on most designs. Use "current" to show additional instances based on the current event or specify one or more IDs (see the id option above on how to find the ID of the event). Useful to show related events in the same recurring series. Show events with the given parent event IDs. Note that parent_id no longer works after the 6.x update to The Events Calendar, as they have changed how events are stored Use "current" to hide the ID of the current event or specify one or more IDs (see the id option above on how to find the post IDs you need to exclude). Useful if showing related events using the shortcode on an event page, but you want to exclude the current event. In this case the ID is 599 exclude_id pro only Then in the top you can see the ID beside post= You can find the id by going to the event you want while logged into your WordPress site, then clicking Edit Event at the top: Show a single event using that event's ID Option to only show the first event from a recurring event (The Events Calendar PRO). ![]() Show events marked as "hide from event listings". You can use the limit option to show more events if needed. Note that due to the complexity of this option, it may decrease the number of events displayed. Hide any events that are sold out (used with the Event Tickets or Event Tickets Plus addon by Modern Tribe) Show events that are not marked as a "featured" event. As you’d imagine, this is perfect for displaying featured events. Or for the current day but in future only: If specified, overrides the month optionįor example to get events for the next week: Specifies the number of days from today to fetch events. You can also use this when combining with tags, to show events both in the specified category and in the specified tag: Instead of showing events that are in at least one of the categories or tags you specify, switch to only show events in all of those categories. If you want to only include events that both have the large-event tag but also do NOT have the regular-event tag, you'll need to use the tag_cat_operator option, ie. Include events that are not in the specified tags. If you want to only include events that are both in the community category but also NOT in the meeting category, you'll need to use the tag_cat_operator option, ie. Useful for excluding any community submitted events. Include events that are not in the specified categories. ![]() Pro only: if you want to only include events in both the festival AND the workshops categories, you'll need to use the tag_cat_operator option, ie. The slug can be found by going to Events > Event Categories: You can either use the category name, or the category slug. Use commas when you want multiple categories The amount of events on each page can be controlled using the limit value. Show previous and next links, allowing more events to be displayed by visitors. Useful for splitting into columns or using multiple copies of the shortcode on the same page. Skip a certain number of events from the beginning. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |