How do I add the “Add to calendar” button to the event registration thank you page? We plan to remove from event listing / detail page and only show here as it seems to make more sense that way. I tried searching in here for an example but the other posts mentioned files I can’t find in EE4.
This isn’t available at this time as some of the templates that are used on the thank you page can’t be relocated. We have an enhancement request for that and we do have an enhancement ticket to make it available as a shortcode so it can be used in the registration details emails that are sent out after a successful registration.
The enhancement for the ical shortcode will likely be available first and I’ll update this support post once it has been added to the core plugin.
Do you see any problems with this code? If I put it in my functions.php file it does work:
/////////////////////////////
//make it a button
function return_button(){return ‘button’;}
add_filter( ‘FHEE__EED_Ical__generate_add_to_iCal_button__iCal_type’, ‘return_button’ );
I don’t see anything structurally wrong with the code. If it displays the ical, with the correct date, then I would run with it until the devs provide a core solution.
Viewing 3 reply threads
The support post ‘Add "Add to calendar" icon to confirmation 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.
Support forum for Event Espresso 3 and Event Espresso 4.