Support

Home Forums Event Espresso Premium "Display Expired Events" dows not work

"Display Expired Events" dows not work

Posted: March 24, 2015 at 1:57 pm

Viewing 6 reply threads


adasch

March 24, 2015 at 1:57 pm

Hi,
these are my events:
https://www.dropbox.com/s/vcf1ynrivr684fb/screen1.png?dl=0

This is what I see in the frontend
https://www.dropbox.com/s/dave1hryjnijj8e/screen2.png?dl=0

As you can see “1. Block” is missing and I guess it’s because of the expired date. BUT this is my setting for event list pages
https://www.dropbox.com/s/gctumo6ujnblrpc/screen3.png?dl=0

Why is “1. Block” not shown?


Lorenzo Orlando Caum

  • Support Staff

March 24, 2015 at 2:37 pm

Hi, that setting controls events that appear in the event listing page.

Your example is for datetimes which is part of an event. Are you using any custom coding on the event listing page?


Lorenzo


adasch

March 24, 2015 at 3:19 pm

Hi,
I use this shortcode to display the events:
[ESPRESSO_EVENTS show_expired=”true” category_slug=”kombi”]

Even when I delete my functions.php and all espresso php files from my child theme folder “1. Block” is missing.


Lorenzo Orlando Caum

  • Support Staff

March 25, 2015 at 10:09 am

Hi, I was able to duplicate that behavior and I don’t think it should happen so I’ve created a bug ticket so we can have this reviewed and fixed.

I’ll update this support post once we have more information.


Lorenzo


adasch

April 7, 2015 at 2:22 am

Hi again,
as this bug is kind of crucial for me I’d like to ask whether there did anyhing happen the last weeks.

thanks


Dean

April 7, 2015 at 4:19 am

Hi,

The developers have confirmed that this is expected behaviour and not a bug.

It can however, be over ruled.

Copy /wp-content/plugins/event-espresso-core-reg/public/Espresso_Arabica_2014/content-espresso_events-datetimes.php to your theme folder (or ideally a child theme folder) and then edit it.

Replace this line

<?php espresso_list_of_event_dates( $post->ID );?>

with this line

<?php espresso_list_of_event_dates( $post->ID, '', '', TRUE, TRUE );?>

That will display any expired datetimes.

Please note: if you do not place the file in a child theme, any theme updates will remove that file.


adasch

April 8, 2015 at 1:49 am

GREAT! This works perfectly! Thank you!

Viewing 6 reply threads

The support post ‘"Display Expired Events" dows not work’ 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