Changeset 1107270
- Timestamp:
- 03/06/2015 11:59:07 PM (11 years ago)
- Location:
- classy
- Files:
-
- 1 added
- 2 edited
-
assets/screenshot-1.png (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/public/class-classy-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
classy/trunk/README.txt
r1107257 r1107270 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 A tool used to integrate Classy's (https://classy.org)API into easily accessible shortcodes11 A tool used to integrate Classy's API into easily accessible shortcodes 12 12 13 13 == Description == 14 14 15 Classy is the world’s largest fundraising platform for social good organizations. Since 2011, we’ve enabled 1.3 million people across 300K individual campaigns to raise over $130M for social good organizations. From cutting-edge health programs to educational advancement, our customers are tackling the world’s greatest challenges with the power of the Classy platform.15 [Classy](https://classy.org) is the world’s largest fundraising platform for social good organizations. Since 2011, we’ve enabled 1.3 million people across 300K individual campaigns to raise over $130M for social good organizations. From cutting-edge health programs to educational advancement, their customers are tackling the world’s greatest challenges with the power of the Classy platform. 16 16 17 17 This plugin integrates the Classy API via shortcodes for easy access on Wordpress. 18 18 19 Currently supported shortcodes/API calls .19 Currently supported shortcodes/API calls: 20 20 21 [classy_campaigns] 22 [classy_fundraisers] 23 [classy_donations] 21 * [classy_campaigns] 22 * [classy_fundraisers] 23 * [classy_donations] 24 25 You are able to use attributes that are available on the API as well in your shortcodes. For example: 26 27 [classy_fundraisers order="firstname"] 28 29 This will return a list of fundraisers ordered by first name. 30 31 This plugin was created using Tom McFarlin's Boilerplate WordPress Plugin template. 32 33 [Classy API](http://go.stayclassy.org/hs-fs/hub/190333/file-1586506388-pdf/StayClassy_API_v1.1_FINAL_%281%29.pdf) 34 35 == Screenshots == 36 37 1. **Classy Admin** - Updated your API Token and CID in the admin panel. 24 38 25 39 == Installation == … … 27 41 Upload the Classy plugin to your blog, activate it, then enter your API Token and CID in the Classy menu. 28 42 43 To get your API Token and CID, you will need to contact [Classy support](https://fundraise.tofightcancer.com/help-center). 44 29 45 == Changelog == 30 46 31 47 = 1.0 = 32 * In tial plugin which includes campaigns, fundraisers and donations.48 * Initial plugin which includes campaigns, fundraisers and donations. -
classy/trunk/public/class-classy-public.php
r1107257 r1107270 111 111 foreach ($campaigns as $campaign){ 112 112 $date = strtotime($campaign->start_date); 113 if($campaign->address){ 114 $location = $campaign->venue; 115 } else { 116 $campaign->address; 117 } 113 $location = trim($campaign->address) == false ? $campaign->venue : $campaign->address; 118 114 $output .= ' 119 115 <div class="single-campaign">
Note: See TracChangeset
for help on using the changeset viewer.