Install the official package from the WordPress Plugin Directory.
add2cal
At your WordPress "Plugins" page, activate the plugin.
Simply use the "Block" within the WordPress Gutenberg Block Editor.
Alternatively, you can also use the shortcode [add-to-calendar-button] and add the attributes directly to it:
[add-to-calendar-button name="Title" options="'Apple','Google'" startDate="2024-09-16" description="Description with {b}bold{/b} text."]
Mind that you cannot use '[' and ']' characters in this case! For content formatting, you can use {*} instead of [*].
Yes, it is that simple.
Not your tech stack?
Check out the "Installation" section!
We have strong guides and solutions for all big frontend stacks as well things like WordPress.
Find complete project examples per stack at Stackblitz: Click here .
More functionality (like RSVP) and way less trouble thanks to managed ics file hosting, no-code customization, and more.