Support

Home Forums Event Espresso Premium Custom Event Template

Custom Event Template

Posted: March 24, 2020 at 8:30 am


youtech2012

March 24, 2020 at 8:30 am

Recently my company partnered with a third party mail house and event registration software. They have provided us with a code snippet that can be placed and renders a registration form for a specific event in their backend. I’m wondering if there is a way to have two single event templates in event espresso one that displays the default registration form and holds the registrations in our WordPress site, and one where I can add the code snippet with the ability to change the event id on the front end.

Here is a link to a event with the form embedded in the text of the event. https://afesstaging.wpengine.com/course-registration/principles-of-retirement-planning-ptjvcoe0428/

Ideally, the form would replace the ticket selector in the top right on this page


Josh

  • Support Staff

March 24, 2020 at 10:58 am

Hi,

It’s possible to create a custom event template. The documentation has information on how to get started:
https://eventespresso.com/wiki/ee4-custom-post-types/#single_event_template

With regards to having two different templates, you could do that, but you’d need to remember to switch the template selector within the event editor.

Another approach you could take that doesn’t involve any custom coding would be to set the “Display Ticket Selector” option to No within the event editor. Then add your embed code to the event’s description.


youtech2012

March 24, 2020 at 11:02 am

If I do the second option can I turn it on and off for some events or is it an all or nothing fix?


Josh

  • Support Staff

March 24, 2020 at 11:29 am

There’s a Display Ticket Selector setting within each event, so yes you can leave it on for some events and turn it off for other events.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 5 days, 17 hours ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!