Support

Home Forums Event Espresso Premium EE4 – possible to have some conditional logic on the thank you page?

EE4 – possible to have some conditional logic on the thank you page?

Posted: May 8, 2015 at 7:12 am

Viewing 1 reply thread


chris lawson

May 8, 2015 at 7:12 am

Hi, I have two events running on my site and would like to display different content on the thank you page depending on which event has been registered for. Can you please advise how this could be achieved without hacking the core? If that’s not possible, and I know this isn’t ideal, would I be able to hardcode the logic into the thank you template partial by checking the event ID (also what’s the best way to access that var)?


Josh

  • Support Staff

May 8, 2015 at 10:31 am

Hi Chris,

Yes, there are many action hooks in the Thank You page template, which allow conditionally loading in content. We outline one way to use Advanced Custom Fields to input the custom Thank You page content, then display it on the Thank you page, in this tutorial:

https://eventespresso.com/wiki/add-course-curriculum-events-using-advanced-custom-fields/

Viewing 1 reply thread

The support post ‘EE4 – possible to have some conditional logic on the thank you page?’ 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