Past events (again :)

Home Forums Calendar Products Events Calendar PRO Past events (again :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1242269
    William
    Participant

    Hey,

    I KNOW this has been asked a few times before, but I was maybe hoping somebody had come up with a solution…. is there ANY way to stop past events showing up in the loop? My client absolutely hates that people can view old events when clicking “previous events” from the initial list view page.

    I’ve thought of using post expirator, but would worry this might slow the site down.

    Cheers,

    B

    #1242760
    Cliff
    Member

    Hi, William.

    You could craft a PHP code snippet that changes the post’s status to Pending Review or Draft (anything other than Published) if the time now is after the event’s End Time. You could also choose to delete it.

    I’d guess it’d be hard to implement this logic in a way that decreases your site’s load time.

    Another idea is to simply remove/hide the Previous Events link.

    Please let me know if I can be of further help here.

    #1253935
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Past events (again :)’ is closed to new replies.