Support

Home Forums Event Espresso Premium Registration Page….

Registration Page….

Posted: August 27, 2018 at 3:18 pm

Viewing 5 reply threads


gpahu

August 27, 2018 at 3:18 pm

I would like to remove the header and sidebar and footer that I use in my Iced Mocha child theme from the registration page for 2 events only.
I have removed the header/sidear/footer from the events page itself using css and the class postid-xxxx where xxxx is the event id.
However there is no reference to a unique id like that in the registration page.

Should I modify a call in functions.php ? or copy over/modify the Registration Page template in my child theme and use some sort of if….statement.

Any help you could give would be greatly appreciated.


Josh

  • Support Staff

August 28, 2018 at 11:44 am

Hi,

You can add the following code:

https://gist.github.com/joshfeck/41ee6fed7fc60400e7db9c1be18f5aed

to a functions plugin or into your WordPress theme’s functions.php file.

The above code will add the category slug from the event to the registration-checkout page’s body class. You can add an event category that’s unique to the two events, then you’ll be able to use that body class as a CSS selector to do what you need to do.


gpahu

August 28, 2018 at 3:38 pm

wonderful josh.
when i add the class .categoryslug to my style.css i can change colors, add display:none to areas. works like a charm.
would love to do the same for thank you page. Could you share for Thank you page…..


Josh

  • Support Staff

August 28, 2018 at 3:59 pm

Tony actually put together something for the Thank you page and published it here:

https://gist.github.com/Pebblo/ff10c717dbef698ff7fbe357dedfd1a1


gpahu

August 30, 2018 at 9:30 am

thanks josh. thanks tony. worked like a charm !


Tony

  • Support Staff

August 30, 2018 at 10:13 am

You’re most welcome.

I’m glad that snippet was useful for you 🙂

Viewing 5 reply threads

The support post ‘Registration 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