Support

Home Forums Event Espresso Premium Registration/Ticket Page is showing previous events

Registration/Ticket Page is showing previous events

Posted: June 25, 2021 at 2:28 pm


dionne.c

June 25, 2021 at 2:28 pm

On the event page where you select tickets to purchase, at the bottom allows visitors to view previous events from previous years. How can I hide this functionality? Second, how do I remove the ability for visitors to post a comment? I updated the wordpress setting to not allow comments on post but not seeing an option turn it off on the event espresso page.

Here is the URL to an expired event, but the above issues are also showing on my current draft event.
https://conference.fasterasset.com/events/register-2020/


Tony

  • Support Staff

June 28, 2021 at 6:09 am

Hi there,

On the event page where you select tickets to purchase, at the bottom allows visitors to view previous events from previous years. How can I hide this functionality?

That’s from your site’s theme, if the theme doesn’t have options to remove those the simplest method is to hide them with CSS:

.single-espresso_events .post-nav {
    display: none;
}

Add that to Appearance -> Customize -> Additionl CSS.

Second, how do I remove the ability for visitors to post a comment? I updated the WordPress setting to not allow comments on post but not seeing an option turn it off on the event espresso page.

When you change the setting with WordPress it sets the option to comment to disabled on all new posts created from that point on (EE events are a custom post type so the same applies to them).

The option to allow comments is set within each individual post, so you’d need to edit the event and open up the ‘Discussion’ metabox, then uncheck ‘Allow Comments’: https://monosnap.com/file/DhP7aEA7ljw7w7O7PKMzO0D8ZrLAkA

If you don’t see that section, go to the top of the page and click ‘screen options’, make sure the ‘Discussion’ element is checked.

However, if you don’t want to allow comments on the site, the easiest option is to use a plugin like Disable Comments to disable them in one step. You can do so everywhere on the site or for specific post types.


dionne.c

June 29, 2021 at 2:41 pm

Perfect! Thank you so much for your help Tony, I appreciate your time.


Tony

  • Support Staff

June 30, 2021 at 10:01 am

You’re most welcome.

The support post ‘Registration/Ticket Page is showing previous 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