Support

Home Forums Event Espresso Premium Arrows to click through events show old events

Arrows to click through events show old events

Posted: September 3, 2019 at 9:06 am

Viewing 3 reply threads


Atma

September 3, 2019 at 9:06 am

When I am looking at a single event page, there are arrows on the left and right side of the page that allow for clicking through events. Unfortunately when I click through, it shows also expired events.

https://www.dropbox.com/s/0eib6lyj1sbvh3p/Screenshot%202019-09-03%2017.05.26.png?dl=0

https://www.dropbox.com/s/967qnfmgl2p8cjm/Screenshot%202019-09-03%2017.05.08.png?dl=0

However, I have chosen the settings as follows, so this should not be happening:

https://www.dropbox.com/s/2twxqxuh118i96f/Screenshot%202019-09-03%2017.09.39.png?dl=0

https://www.dropbox.com/s/z0enhwrywot2ihh/Screenshot%202019-09-03%2017.10.01.png?dl=0

https://www.dropbox.com/s/yoi0aoznju9r05x/Screenshot%202019-09-03%2017.10.08.png?dl=0

Do you have any ideas?
Thx much.


Josh

  • Support Staff

September 3, 2019 at 10:15 am

Hi,

The arrows on the left and right are actually added by your WordPress theme, and they’re designed more for navigating through blog posts. Are you intending to remove those for event posts, or do you want to filter the navigation so only upcoming events are linked to?


Atma

September 5, 2019 at 12:56 pm

Thank you for your answer.

The owner of the website gave me both options. Is it easy to filter the navigation for only active events?


Josh

  • Support Staff

September 5, 2019 at 7:19 pm

To change the navigation so it only links to upcoming and active events, you can add the code from this gist to the site:

https://gist.github.com/joshfeck/72021a1845bce177f559d2f9b363faaa

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.

Viewing 3 reply threads

The support post ‘Arrows to click through events show old events’ 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