I’m creating a custom template and the sidebar displays the event details and venue information. However, if the registration URL is TRUE I want to hide the location information and simply include the register button similar to how the ticket selector does this. Can you please point me in the right direction as to what tag I should be using?
I can’t view the page included above, I just get page not found.
If you have the EE_Event object already you can use $event->external_url() to pull the Alternative Registrational URL for the event.
I’m not sure if you want to create your own button using the above but you can also call the ticket selector using espresso_ticket_selector($event);, as there is an alt registration url set on the event it will only show the register button.
The support post ‘Show Registration Button When Alternative Registration URL is TRUE’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.