DOCS

Filter Bar

PRO block. A search and filter UI for archive and query pages. Block ID: get-fund/filter-bar.

Filter bar example

For the full reference, see the Filter Bar Pro feature page.

Why use this

When a site hosts many fundraising pages, visitors need a way to search for specific ones or browse by organisation, creator, event, or category. The Filter Bar provides that UI without requiring a custom search implementation.

What it does

The block renders up to five filter controls (search, organisation, creator, event, category) that read their options from the REST endpoint get-fund/v1/filter-options. When a visitor interacts with a control, the block updates the listing on the page live, without a full reload, and reflects the state in the URL. It works on the Fundations, Events, and Organisations archives.

Requirements

  • Active Fundations Pro license

How to use it

  1. Add the Filter Bar block to an archive or listing page, above the Query Loop.
  2. Toggle which controls to show.
  3. Set label texts and style options in the inspector.

Settings and options

OptionAttributeTypeDefaultDescription
Show searchshowSearchbooleantrueText search field
Show organisationshowOrganisationbooleantrueOrganisation filter dropdown
Show creatorshowCreatorbooleantrueCreator filter dropdown
Show eventshowEventbooleantrueEvent filter dropdown
Show categoryshowCategorybooleantrueCategory filter dropdown (only renders when Categories are enabled)
Search / control labelssearchLabel, orgLabel, creatorLabel, eventLabel, categoryLabelstringCustom label per control
Border radiusborderRadiusnumber50Control corner rounding
Border colorborderColorstring#e5e7ebControl border color
Background colorbackgroundColorstring#ffffffControl background color
Text colortextColorstring#374151Control text color
Placeholder colorplaceholderColorstring#9ca3afPlaceholder / icon color

What you can and cannot do

  • The filter bar requires the Fundations REST API endpoint to be accessible. Ensure REST API access is not blocked by security plugins or server configuration.
  • The category control only appears when Categories are enabled in Fundations settings.
  • Requires Fundations Pro.

Troubleshooting

Filters do not update the listing: Confirm the REST API is accessible by checking {siteurl}/wp-json/get-fund/v1/filter-options in a browser. If it returns an error, check for security plugin rules blocking REST requests. Also confirm the Query Loop on the page targets a supported post type (get_fund_action, get_fund_event, or get_fund_org).

The category control is missing: Categories must be enabled under Fundations > Settings > Wizard. See Categories.