Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Event List for past events only | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Event List for past events only

Event List for past events only

Posted: August 20, 2012 at 8:02 pm

Viewing 1 reply thread


mminten

August 20, 2012 at 8:02 pm

I would like to have a list of only past events. If I use the shortcode: [EVENT_LIST show_expired=true] it shows the past events with the current events. How to I remove the active events from this list and get only expired events?


Chris Reynolds

  • Support Staff

August 21, 2012 at 8:54 am

We’ve gotten this question before and currently there are only two, fairly manual options:

1) Create a category called “Archive” (or whatever you want). After the event is over, tag it with this event category and have a page on your site that is doing an event list (or category list) of just that category.

2) Create a new page template or shortcode (with the custom files add-on) that modifies the SQL query to not display events past today’s date.

There might also be a third option that uses the custom post types functionality and would involve manipulating wp_query and the WordPress loop. Suffice to say, this isn’t a built-in feature, right now.

Viewing 1 reply thread

The support post ‘Event List for past events only’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server