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


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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 2 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!