Support

Home Forums Event Espresso Premium Hide register link till tickets available

Hide register link till tickets available

Posted: September 5, 2018 at 7:16 pm

Viewing 3 reply threads


Kitka

September 5, 2018 at 7:16 pm

Hi, is there a way to hide the links to register until ticket sales open and ditto for free events that don’t require booking? (ie where the Display Ticket Selector option is set to No in the Registration Options part of Event Espresso).


Josh

  • Support Staff

September 5, 2018 at 7:23 pm

Hi,

It might be, may I ask which link to register are you referring to? A screenshot or URL of the page in question will likely help clarify.


Kitka

September 5, 2018 at 9:50 pm

Hi Josh,

The page listing forthcoming events (see attached). In this page ‘Register’ has been changed to read ‘Enq/Book’

https://kitka.net.au/yhabush/activities/current-walks-program/


Tony

  • Support Staff

September 6, 2018 at 5:14 am

So you just want nothing to be output when you have the ‘Display Ticket Selector’ option set to No in the event?

If so you’ll need to edit the template you are using and switch out the part outputs the button with something like:

echo $event->display_ticket_selector() ? $live_button : '';

So by default, it would look something like this:

<td class="td-group reg-col" nowrap="nowrap"><?php echo $live_button; ?></td>

And for the above you need:

<td class="td-group reg-col" nowrap="nowrap"><?php echo $event->display_ticket_selector() ? $live_button : ''; ?></td>

Viewing 3 reply threads

The support post ‘Hide register link till tickets available’ 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