Your website
How to add a donation form with Gift Aid to a WordPress site (UK)
Add a donation form to WordPress in a few minutes with a shortcode or a Custom HTML block. No plugin to configure, no payments code.
24 November 2026 · 2 min read
If your charity's site runs on WordPress, you can have a donation form with Gift Aid on any page in a few minutes, without touching payments code.
Option 1: a Custom HTML block
- Create your form in edonating and copy the smart embed code from your dashboard. It's two lines.
- In WordPress, edit the page and click + to add a block.
- Choose Custom HTML and paste the code.
- Update the page, then open it to check. The form appears at its full height, so the page doesn't jump around as donors fill it in.
Option 2: the edonating plugin
If you've installed the edonating WordPress plugin, you can use a shortcode instead. Add a Shortcode block and paste the shortcode from your dashboard, which looks like [edonating form="..."].
WordPress.com
On WordPress.com, adding code depends on your plan. If code isn't available on yours, use a donate button that links to your hosted donation page instead. It works on every plan and in emails too.
What donors see
Donors choose an amount, once or monthly, tick Gift Aid if they're eligible and pay by card, Apple Pay or Google Pay. Card details go into the payment processor's secure fields, so they never reach your website.
Next steps
Our guide to adding a form to any website covers every builder, and your dashboard shows the same steps with your own code filled in.
Try it with your charity
Donation forms with Gift Aid built in, free to start. Set up in minutes.
Start free