Support

Home Forums Event Espresso Premium How do I edit this thank you page

How do I edit this thank you page

Posted: September 1, 2022 at 1:25 pm

Viewing 4 reply threads


MPWebmaster

September 1, 2022 at 1:25 pm

I do not see this is the std or custom HTML messages
thank you page


MPWebmaster

September 2, 2022 at 12:18 pm

This reply has been marked as private.


Tony

  • Support Staff

September 5, 2022 at 11:28 am

The EE critical pages are all dynamically generated so you can’t edit them as ‘page’ within WordPress, at least not to make the changes you are looking for.

The text for that specific section is filtered via PHP and you can use a custom function to return whatever else you prefer, for example:

https://gist.github.com/Pebblo/356cb5d238114e1bfa29c240958f4ac7

The simplest method to remove details from that output is to hide it using CSS. If you can take a screenshot and highlight the sections you want to remove I can give you some examples.


MPWebmaster

September 5, 2022 at 11:51 am

This reply has been marked as private.


Tony

  • Support Staff

September 5, 2022 at 12:18 pm

If I can do this with CSS that would be great

CSS is for visual changes rather than changing the source code of the site (such as text changes) so you can hide the elements you want to with CSS but not the congratulations text change.

This CSS should so what you have requested in the images:


.ee-registrations-list tr th:first-of-type,
.ee-registrations-list tr td:first-of-type {
    width: 100%;
}
.ee-registrations-list tr td:nth-of-type(2),
.ee-registrations-list tr td:nth-of-type(3) {
    display: none;
}
.ee-registrations-list thead tr th:nth-of-type(2),
.ee-registrations-list thead tr th:nth-of-type(3) {
    display: none;
}

#espresso-thank-you-page-ajax-transaction-dv {
    display: none;
}

.ee-registration-details-dv > p {
    display: none;
}
Viewing 4 reply threads

The support post ‘How do I edit this 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