All guides

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 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.

Add it with a Custom HTML block

  1. Create your form in edonating and copy the smart embed code from your dashboard. It’s two lines.
  2. In WordPress, edit the page and click + to add a block.
  3. Choose Custom HTML and paste the code.
  4. 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.

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

Forms, appeal pages and Gift Aid claims for your charity, free to start.

Start free