-
-
Notifications
You must be signed in to change notification settings - Fork 8
Deploy to Wordpress
Fishbakh-N edited this page Jun 7, 2023
·
6 revisions
You will need to have paid for a Premium Wordpress account for this to work.
- Determine your donate URL. It will be in this format:
https://www.every.org/<your nonprofit slug>/#donate
.- For example,
https://www.every.org/maps/#donate
is the donation link for theMAPS
nonprofit. If you visit that URL, it will open a page where you can support MAPS.
- For example,
- Log into Wordpress and go to the Dashboard.
- Go to
Pages > All the pages
- On the page you want to add a donate button to, click
Edit Page
. - Add a button on your page.
- Set the button to link to a
Web Address
.- Set the web address to the donate URL above.
- For the
How does it open?
question, eitherNew Window
orCurrent Window
are fine.
- Click on the
Publish
button to make the donate link live.
Now, if you click the button you created, it will take you to your nonprofit's Every.org profile, with the donate modal open.
- Go back to the Wordpress dashboard.
- Click Plugins
- Click Add new at the top
- Search
WPCode
- Click Install now on first serch result
The next step will be to make the button open donate flow without leaving your website.
- Go back to the Wordpress dashboard.
- Click Code snippets
- Click Add new at the top
- Click Use snippet on the Add Your Custom Code (New Snippet) section
- Add the following code snippet to the Code Preview textfield.
<script async defer src="https://embeds.every.org/0.4/button.js"></script>
- set Code Type to
HTML Snippet
- set Location must be
Site Wide Header
- set Code Type to
- Click Save Snippet at the top and switch it to
active