Donorbox is a powerful donation platform that supports a variety of payment methods (cards, ACH, Apple/Google Pay, SEPA, PayPal). It also has a form builder that lets you create beautiful donation forms that can collect any data you need.
By embedding Donorbox’s optimized donation forms directly on your site, you will greatly increase your donation conversion. There are two ways to embed a Donorbox donation form into your WordPress website. You can use our WordPress donation plugin. The other option is to use our embedding code.
We’ll be showing you the latter in this blog post. Here’s how you can embed the power of Donorbox into your WordPress website.
How to Embed a Donation Form Using Embedding Code
Go to your Donorbox dashboard, and find the campaign you wish to embed on your site. Click the “Embed Form” button.
Copy and paste the embed code for your form.
Go to your WordPress page editor of the page in which you wish to insert your donation form.
WordPress has recently released a new page editor, which some sites are already using. Whether you choose the old or new editor, here’s how to add the embed code to your page.
3.1 Old Editor
Make sure you are on the text editor (not the visual editor). Paste the donation form embed code in the area that you want the form to appear. Publish your post when you are done!
3.2 New Editor
Make sure you’re viewing the page using the block editor. Click the + sign to add a block for the donation widget, selecting ‘Custom HTML’
Paste the embed code snippet you copied from the Donorbox dashboard into the text box.
For a preview of how the widget will appear on your page, you can click Preview. Publish or Save the post when you’re happy with the results.
Start Accepting Donations
Once the steps above are done, you are ready to accept donations. Here is an example of Halo Trust’s donation page using WordPress.