Support

Home Forums Event Espresso Premium How to remove "Register Now" link for Events which Tickets are not on sale?

How to remove "Register Now" link for Events which Tickets are not on sale?

Posted: February 20, 2020 at 4:20 pm

Viewing 1 reply thread


surfersforautism

February 20, 2020 at 4:20 pm

How do you remove or change the “Register Now” kink that is displayed on the Event Calendar, Table, Grid for events that have not opened for Registration?


Tony

  • Support Staff

February 21, 2020 at 6:35 am

Hi there,

For the calendar, something like this should work:

https://gist.github.com/joshfeck/02a8da94581ed96b3f7d63dd104d7416

That will add ‘Registration Closed’ to the calendar and the event archive.

For the Table and Grid view templates you’d need some custom code as the templates don’t have a conditional for the above currently.

Viewing 1 reply thread

The support post ‘How to remove "Register Now" link for Events which Tickets are not on sale?’ 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