Plugin / The Events Calendar Shortcode & Block

Event Calendar Newsletter

Frequently Asked Questions (FAQ)

Here’s the full list of shortcode and block options you can use to customize how your events display: Basic shortcode: [ecs-list-events] cat – Show events from an event category [ecs-list-events cat='festival'] or specify multiple categories [ecs-list-events cat='festival, workshops'] limit – Total number of events to show. Default is 5. [ecs-list-events limit='3'] order – Order of the events to be shown. Value can be ‘ASC’ or ‘DESC’. Default is ‘ASC’. Order is based on event date. [ecs-list-events order='DESC'] date – To show or hide date. Value can be ‘true’ or ‘false’. Default is true. [ecs-list-events eventdetails='false'] venue – To show or hide the venue. Value can be ‘true’ or ‘false’. Default is false. [ecs-list-events venue='true'] excerpt – To show or hide the excerpt and set excerpt length. Default is false. [ecs-list-events excerpt='true'] //displays excerpt with length 100 excerpt=’300′ //displays excerpt with length 300 thumb – To show or hide thumbnail image. Default is false. [ecs-list-events thumb='true'] //displays post thumbnail in default thumbnail dimension from media settings. thumbsize – Specify the size of the thumbnail. [ecs-list-events thumb='true' thumbsize='large'] thumbwidth / thumbheight – Customize the thumbnail size in pixels [ecs-list-events thumb='true' thumbwidth='150' thumbheight='150'] message – Message to show when there are no events. Defaults to ‘There are no upcoming events at this time.’ viewall – Determines whether to show ‘View all events’ or not. Values can be ‘true’ or ‘false’. Default to ‘true’ [ecs-list-events cat='festival' limit='3' order='DESC' viewall='false'] contentorder – Manage the order of content with commas. Default to title, thumbnail, excerpt, date, venue. [ecs-list-events cat='festival' limit='3' order='DESC' viewall='false' contentorder='title, thumbnail, excerpt, date, venue'] month – Show only specific month (in YYYY-MM format). Type 'current' for displaying current month only or 'next' for next month. [ecs-list-events cat='festival' month='2015-06'] past – Show Outdated Events. [ecs-list-events cat='festival' past='yes'] key – Hide events when the start date has passed [ecs-list-events cat='festival' key='start date'] orderby – Change the ordering to the end date [ecs-list-events orderby="enddate"] With The Events Calendar Shortcode PRO you also get the following options: design – Shows improved design by default. Set to ‘standard’ for the regular one, ‘compact’ for a more compact listing, ‘calendar’ for a monthly calendar view, ‘columns’ to show a horizontal/columns/photo view, or ‘grouped’ to group events by day days – Specify how many days in the future, for example [ecs-list-events days="1"] for one day or [ecs-list-events days="7"] for one week tag – Filter by one or more tags. Use commas when you want to filter by multiple tags. id – Show a single event, useful for displaying details of the event on a blog post or page location (city, state/province, country) – Display events by location. Use commas when you want to include events from multiple (ie. country=’United States, Canada’) description – Use the full description instead of the excerpt of an event in the listing raw_description – Avoid filtering any HTML (spacing, links, bullet points, etc) in the description raw_excerpt – Avoid filtering any HTML (spacing, links, etc) in the excerpt featured only – Show only events marked as “featured” date – Show only events for a specific day [ecs-list-events date='2017-04-16'] year – Show only events for a specific year [ecs-list-events year='2017'] date range – Show only events between certain days [ecs-list-events fromdate='2017-05-31' todate='2017-06-15'] timeonly – To show just the start time of the event. [ecs-list-events timeonly='true'] offset – Skip a certain number of events from the beginning, useful for using multiple shortcodes on the same page (with ads in between) or splitting into columns custom design – Create one or more of your own templates for use with the shortcode filter bar – Allow the user to filter the events shown in the full calendar design (ie. by category, state/province, country, venue, etc) hiderecurring – To only show the first instance of a recurring event, set to ‘true’ Get The Events Calendar Shortcode & Block PRO
Yes! There is now a block to list your events anywhere in a page or post, just click “+” in the top-left and search for The Events Calendar Block (under Common).
You can put the shortcode in a text widget (as of WordPress 4.7). If a regular text widget doesn’t work, put the shortcode in a Visual Editor Widget.
By default the plugin does not include styling. Events are listed in ul li tags with appropriate classes for styling with a bit of CSS. ul class=”ecs-event-list” li class=”ecs-event” and “ecs-featured-event” (if featured) event title link is H4 class=”entry-title summary” date class is time venue class is venue span .ecs-all-events p .ecs-excerpt Want a better looking design without knowing any CSS? Check out The Events Calendar Shortcode & Block PRO
Put this in the template where you want the events list to display.
The pro version of the plugin has the option to put design="calendar" in the shortcode (or pick Calendar as the design with the block) to show a calendar view of the events you want.

Ratings

4.5
51 reviews

Rating breakdown

Details Information

Version

2.3

First Released

31 Jan, 2014

Total Downloads

345,389

Wordpress Version

4.1 or higher

Tested up to:

5.3

Require PHP Version:

5.3 or higher

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.