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. Afterward, go to your Donorbox dashboard, find the campaign you want to embed to your website. In the same container, click the code (</>) icon to show the drop-down menu. Click Embed Form from the list.
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 '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.