Wordpress plugin for adding common embedded elements for Classy clients in their Wordpress sites.
- Download this plugin
- Copy files to the
wp-content/plugins
directory of your Wordpress installation - In your Wordpress admin dashboard, activate the 'Classy.org' plugin
- Under the
Classy.org
admin page, enter your API credentials
The plugin provides two ways to embed features into your Wordpress site: short codes and widgets.
NOTE:
Data for embeddable widgets is cached for ten minutes
Embed a campaign progress bar for campaign #12345 with a title of "Campaign Progress Bar"
[classy-campaign-progress id="12345" title="Campaign Progress Bar"]
Embed a campaign overview for campaign #12345 with a title of "Campaign Overview"
[classy-campaign-overview id="12345" title="Campaign Overview"]
Embed a campaign top fundraisers leaderboard for campaign #12345 with a title of "Top Fundraisers"
[classy-campaign-fundraiser-leaders id="12345" title="Top Fundraisers"]
Embed a campaign top fundraising team leaderboard for campaign #12345 with a title of "Top Fundraising Teams"
[classy-campaign-fundraising-teams-leaders id="12345" title="Top Fundraising Teams"]
In the Appearance > Widgets
section of Wordpress admin dashboard you'll find new
widgets that you can drop into your widget areas.
- Classy.org: Campaign Progress Bar
- Classy.org: Campaign Overview
- Classy.org: Campaign Fundraiser Leaders
- Classy.org: Campaign Fundraising Team Leaders
Each of these accept parameters for id
and title
, as above with the short codes.
When submitting a pull request, please make sure you've written good commit messages that include references to issues and clearly describe what the commit achieves. Use the commit body to explain what you did and why you did it. Thanks!