DOCS

Blocks Reference

Fundations registers its blocks under a dedicated Fundations category in the block editor. All blocks are server-rendered, meaning the output is generated in PHP on every page load. There is no client-side hydration step.

Blocks marked PRO require an active Fundations Pro license.

Block category in editor

FREE blocks

BlockFileDescription
Progress Barget-fund/progressHorizontal progress bar showing percentage raised
Circular Progressget-fund/circular-progressSVG ring gauge showing percentage raised
Raised Amountget-fund/raised-amountDisplays total amount raised
Goal Amountget-fund/goal-amountDisplays the fundraising goal
Percentageget-fund/percentageDisplays the percentage raised
Days Remainingget-fund/days-remainingCountdown to the end date
Statsget-fund/statsShows the action creator’s name
Stats Miniget-fund/stats-miniCreator name and avatar for archive loops
Descriptionget-fund/descriptionPost excerpt for query loop grids
Meta Fieldget-fund/meta-fieldDisplay any post/organisation/user meta value as text, number, date, link, or image
Image Galleryget-fund/gallerySlideshow of the action’s images
Donation Formget-fund/donation-formMain donor-facing payment form
Donation Thank Youget-fund/donation-thank-youPost-payment confirmation screen
Donation Messageget-fund/donation-messageDonor message for query loop contexts
Recent Donorsget-fund/donorsList of recent and highest donors
Campaign Updatesget-fund/updatesCollapsible accordion of campaign updates
Child Actionsget-fund/child-actionsGrid of sub-campaigns (post-parent hierarchy)
Campaign Membersget-fund/campaign-membersTable of all fundraisers in a campaign
Top Membersget-fund/top-membersTop 3 fundraisers leaderboard
Top Teamsget-fund/top-teamsTop teams leaderboard
Event Cardget-fund/event-cardCard showing the event a page belongs to
QR Codeget-fund/qr-codeShareable QR code for the current action
Edit Buttonget-fund/edit-buttonLink to the frontend edit page (creator only)
Campaign Action Buttonget-fund/campaign-action-buttonCTA button linking to the Action Wizard
Campaign Closed Noticeget-fund/closed-noticeBanner shown when a campaign is closed
Group Assignmentget-fund/group-assignmentForm for assigning an action to a team
Sign In / Sign Upget-fund/auth-formCombined login and registration form
Logout Buttonget-fund/logout-buttonLogout link with optional redirect
Claim Your Fundationsget-fund/claim-actionGuest claim form (converts guest action to account)
User Infoget-fund/user-infoLogged-in user avatar, name, and bio
Profile Settingsget-fund/user-profile-settingsFrontend profile editor for logged-in users

PRO blocks

BlockFileDescription
Share Modalget-fund/shareSocial sharing button and modal
Organisation Cardget-fund/organisation-cardOrganisation summary card
Filter Barget-fund/filter-barSearch and filter UI for archive pages
Manage Membersget-fund/manage-membersOwner panel to invite and manage members
Checkout Buttonget-fund/checkout-buttonWooCommerce-based donation CTA
Product Selectorget-fund/product-selectorWooCommerce product grid for donation add-ons

Block patterns

Fundations registers four block patterns that combine the blocks above into ready-made layouts:

PatternIDDescription
Full Layoutget-fund/full-layoutComplete single-action page layout
Progress Onlyget-fund/progress-onlyMinimal progress + amounts strip
Archive Layoutget-fund/archive-layoutGrid card layout for archive pages
Archive Listget-fund/archive-listList layout for archive pages

Demo mode

All blocks support a render demo mode, which shows placeholder data so you can preview layouts on pages that are not action pages. Enable it by adding ?get_demo=1 to any URL. This is the block-preview placeholder, and is separate from the Demo data generator, which writes real sample content to the database.

Query Loop support

The following blocks declare Query Loop context support and work correctly inside a WordPress Query Loop block or Greenshift query grid:

progress, circular-progress, description, gallery, stats-mini, raised-amount, goal-amount, percentage, days-remaining, donors, donation-message, meta-field, organisation-logo, share (PRO), organisation-card (PRO)

Blocks that require a single action page and do not use Query Loop context:

stats, child-actions, campaign-members, top-members, qr-code, edit-button, group-assignment, campaign-action-button, closed-notice, donation-thank-you, donation-form, updates