Adding a donation form with the WordPress plugin is easy. To begin, go to your WordPress dashboard, find the 'plugins' tab in the left sidebar and click 'add new.' In the plugin search bar, enter 'Donorbox' and install it. Once it's been installed, click to activate it.
Next, go to your Donorbox dashboard and find the campaign you want to embed on your website. In the same container, click the Embed code button with the code </> icon. You may now go to the Embed Form tab.
On the next page, copy the code in the box.
Then, go back to your WordPress dashboard, click 'Settings' in the left sidebar and click on 'Donorbox.' Paste the campaign URL into the textbox and click 'Save Changes.'
Head back to your WordPress page text editor (not the visual editor) of the donation page you wish to edit and type in one of the following shortcodes to embed the donation form using the WordPress plugin:
- [donate url=”nonprofitcampaign”]
- [donate url=”https://donorbox.org/nonprofitcampaign”]
- [donate-with-info url=”nonprofitcampaign”]
- [donate-with-info url=”https://donorbox.org/nonprofitcampaign”]
Make sure to replace "nonprofit campaign" with your own campaign name and URL. Using the shortcode [donate-with-info] will include your campaign description and legal disclaimer that you've added to that campaign.
Once that's done, you're all set! Publish the form and start fundraising with Donorbox using the WordPress plugin.
For more information, feel free to check out our blog on how to embed the donation form using the WordPress plugin. Additionally, we've created a step-by-step tutorial video for a walkthrough of how to embed your donation form: