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.
When using our PRO service, you can activate the respective option. This will also allow you to link dynamic data to the button - like meta or ACF field values.
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-12-23" description="Description with {b}bold{/b} text."]
The linking of dynamic data is also possible with the shortcode. Check our PRO documentation for more information and guidance.
Mind that you cannot use '[' and ']' characters inside a shortcode! For content formatting, you can use {*} instead of [*].
To the PRO documentationYes, 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.