gift card reading 'Spread Joy' Looking for holiday gifts? Give the gift of giving with a GlobalGiving gift card! Shop Gift Cards

Specifying Projects by Project ID

At a minimun, the set of project IDs must be specified by projectIds or the campaignId parameter. Project Ids must be separated by commas:

{% include projectListing/imageGrid projectIds='554,26863,7483' %}

Specifying Projects by Campaign ID

A single campaign ID may be specified using the campaignId attribute

{% include projectListing/imageGrid campaignId='435' %}

Randomize

By default, the order of the projects is unspecified. This can be changed to be the are listed by using the ‘fixed’ flag. This has no affect when projects are specified by campaignId.

{% include projectListing/imageGrid campaignId='435' random=true limit=2 %}

Keeping the order fixed

By default, the order of the projects is unspecified. This can be changed to be the are listed by using the ‘fixed’ flag. This has no affect when projects are specified by campaignId.

{% include projectListing/imageGrid projectIds='554,26863,7483' fixedOrder=true  %}
{% include projectListing/imageGrid projectIds='7483,26863,554' fixedOrder=true  %}

Limit the number of projects returned

The previous example for campaignId included a hidden limit flag to limit the number of projects displayed.

{% include projectListing/imageGrid campaignId='435' limit=12 %}

Showing Donate Buttons

{% include projectListing/imageGrid campaignId='435' random=true limit=6 showDonateButton=true %}

WARNING: Javascript is currently disabled or is not available in your browser. GlobalGiving makes extensive use of Javascript and will not function properly with Javascript disabled. Please enable Javascript and refresh this page.