List View Skin Settings
List View Skin in MEC has five unique layouts, and each one can be set through the Modern Events Calendar setting and adjustment of shortcodes.
List View Shortcode
Section titled “List View Shortcode”You can use shortcodes in your internal pages to have this on your website. The shortcodes are located in M.E. Calendar > Shortcodes.
List View Skin Layouts
Section titled “List View Skin Layouts”Here are the demos of List View Skin in the Modern Events Calendar:
List View Shortcode Options
Section titled “List View Shortcode Options”These are the options you see in M.E. Calendar > Shortcodes after choosing the List View skin. MEC Pro and some addons can add more styles and options.
| Option | What it does | Values |
|---|---|---|
| Style | Layout style of this view. | Classic / Minimal / Modern / Standard / Accordion |
| Start Date | The date the view starts showing events from. | Today / Tomorrow / Yesterday / Start of Last Month / Start of Current Month / Start of Next Month / On a certain date |
| Certain Start Date | The exact start date, used when Start Date is set to “On a certain date”. | Date |
| End Date | Where the list stops. Leave it on “On a certain date” with an empty Maximum Date for no end limit. | On a certain date / Today / Tomorrow |
| Maximum Date | Maximum Date: the last date to include when End Date is “On a certain date”. | Date |
| Limit | Maximum number of events loaded at once. | Number |
| Include Local Time | Also shows each event’s time in the visitor’s own time zone. | On / Off |
| Include Events Times | Shows the start and end time of each event. | On / Off |
| Pagination Method | How visitors get the next batch of events when there are more events than the Limit. | Load More Button / Infinite Scroll / Next / Prev / Disabled |
| Display Event Price | Shows the event price. | On / Off |
| Show Month Divider | Groups events under a heading for each month. | On / Off |
| Display Normal Labels | Shows event labels such as “Featured” or “Canceled”. | On / Off |
| Display Reason for Cancellation | Shows the cancellation reason on canceled events. | On / Off |
| Display Categories | Shows the categories of each event. | On / Off |
| Show Map on top | Displays a map of the listed events above the view. Requires MEC Pro. | On / Off |
| Geolocation | Centers the map on the visitor’s location. | On / Off |
| Disable Geolocation Force Focus | Stops the map from forcing focus to the visitor’s location. | On / Off |
| Toggle for Month Divider | Lets visitors collapse and expand each month group (Accordion style). | On / Off |
| Descending Order | Shows the newest events first. | On / Off |
| Single Event Display Method | How the event opens when clicked. | Current Window / New Window / Modal Popup / Disable Link |
| Booking Button / Icon | Adds a booking button or icon to each event. Only shown when the Booking module is enabled. | On / Off |
| Display Custom Fields | Shows event custom fields. | On / Off |
| Display Organizers | Shows the organizer of each event. Only shown when the Organizers option is enabled in MEC Settings. | On / Off |
| Image Size | Size of the event image. Not shown for the Minimal, Modern and Accordion styles. | Default / Thumbnail / Medium / Medium Large / Large / Full |
| Date Formats | Date formats used by the selected style, written with PHP date characters. | Text (e.g. j, M, Y) |
List View FAQ
Section titled “List View FAQ”How do I add the List View to a page?
Section titled “How do I add the List View to a page?”Go to M.E. Calendar > Shortcodes, add a new shortcode, choose List View as the skin, set the options above and publish it. Then copy the generated shortcode (for example [MEC id="123"]) into any page, post or widget.
How do I show only some events?
Section titled “How do I show only some events?”Open the Filter Options of the same shortcode and limit events by category, location, organizer, label, tag or author. See Making Advanced Shortcodes for every filter.
Can the List View show past events?
Section titled “Can the List View show past events?”Yes. In Filter Options > Expired Events, turn on Include Expired Events to show past and upcoming events, or Show Only Expired Events to show only past ones. Past and upcoming events are listed from the Start Date you choose; with Show Only Expired Events the list counts backward from the Start Date.