Posted: August 16, 2014 at 12:42 am
|
Hi, after migrating to EE4 I have problems displaying the registration form for a single event. On “Registration” page I have the following shortcode:
Please help. |
|
Ok, I figured that the shortcode does not exist anymore. Since there is only one event on our website, how can I display the registration form directly? With the default shortcode it seems only possible to display (a list of) events. I need to skip the event list page and directly show the registration form. Thanks |
Hello, The closest option for Event Espresso 4 is the ticket selector shortcode: [ESPRESSO_TICKET_SELECTOR event_id=”your_event_id”] — |
|
|
Thanks! Is it possible to override the template for this page? |
Hi Hannes, Could you share more information on the changes that you are trying to make? That shortcode that you mentioned isn’t available. — |
|
|
Sure, here’s the page that currently displays different tickets: http://granpremiodolomiti.com/packages |
This would take an extra click but how about sending the attendee to the single event page from your sales page? You could set a minimum amount to 1 for the ticket through the event editor. — |
|
|
Do you refer to the page generated by the ticket shortcode [ESPRESSO_TICKET_SELECTOR event_id=”your_event_id”]? Is it possible to override the template for the ticket selector? Thanks |
Hi Hannes, The event id is the post id of the event. For example, an event with a post id of 153 would use this shortcode for the ticket selector: [ESPRESSO_TICKET_SELECTOR event_id=”123″] You can find this while viewing an event in the event overview screen: http://cl.ly/image/2a2e3s0N0P2p You may find this tutorial helpful for setting the ticket selector to 1 (or another value): https://eventespresso.com/wiki/setup-default-value-1-ticket-selector/ — |
|
|
Thanks. Still, I’m wondering if, like with EE3, I could override the .php template for the ticket selector to have custom html displayed on that page? |
Yes, you can do customize the content on the Event Espresso pages but you’ll need to setup the templates in your theme’s folder. You can find a copy of the templates here: wp-content/plugins/event-espresso-core-reg/templates/Espresso_Arabica_2014 Also see these links: https://eventespresso.com/2014/02/developers-corner-theming-event-espresso-4/ https://eventespresso.com/wiki/ee4-themes-templates/ — |
|
The support post ‘After EE3 to EE4 migration:[ESPRESSO_REG_PAGE] shortcode not properly registered’ 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.