Support

Home Forums Event Espresso Premium display event ID on payment page

display event ID on payment page

Posted: January 29, 2017 at 7:36 am

Viewing 1 reply thread


John Mickus

January 29, 2017 at 7:36 am

I want to display the unique EE id for each event on the page displaying payment options. My goal is to apply custom CSS for each different event and I need a ID or unique class displayed to use as a CSS selector for the page.


Tony

  • Support Staff

January 31, 2017 at 4:01 am

Hi there,

You can use something like this: https://gist.github.com/Pebblo/f4561461339c59411a849f93c91912a9

That will add ‘event-id-XX’ to the registration-checkout page body classes for each event the registrations in your session are linked to – http://take.ms/UVMhE

You can add that to your child themes functions.php file or a Custom Functions Plugin.

Viewing 1 reply thread

The support post ‘display event ID on payment 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