Skip to content

How to Show Campaigns on a Page

Campaigns do not appear in the shop. A page with the grid shortcode lists them, and the card shortcode drops one into any page or post.

Go to Pages → Add New Page and title it, for example, Campaigns.

Add a Shortcode block and paste:

[ddwccf_campaigns filters="yes" columns="3"]

Without options, [ddwccf_campaigns] shows twelve active campaigns, newest first, three per row. Every option is on the Shortcodes page.

Publish and open the page in a private window.

The campaigns grid with search, category, status and sort filters

Each card shows the image, category, name, summary, amount raised, progress and the contribute button. With filters="yes", visitors can search, pick a category or a status and sort by Newest, Ending soon, Most supporters, Most raised or Closest to goal.

The default status is active, so funded and ended campaigns drop off the grid. Show them with status="active,funded,ended", or status="all".

For a blog post or landing page about one campaign, use its ID:

[ddwccf_campaign id="59"]

A post with one campaign’s card

Find the ID by hovering the campaign’s name on the Campaigns screen and reading id= in the Edit link.

  • Only featured campaigns on the home page: [ddwccf_campaigns featured="yes" limit="3"]. Pro.
  • One category: [ddwccf_campaigns category="education"]. Pro.
  • A creator’s campaigns: [ddwccf_campaigns author="3"] with their user ID. Pro.
  • Almost there: [ddwccf_campaigns orderby="funded"] puts the campaigns closest to their goal first.