DOCS

Stats

FREE block. Displays the creator of the fundraising action by name.

Stats example

Why use this

Showing the creator’s name builds trust and gives donors a human connection to the fundraiser.

What it does

The block reads the action’s post_author and the _get_fund_creator_anonymous meta. If the creator has marked themselves anonymous, the name is hidden. Despite its name, this block does not display numerical statistics such as raised amounts or donor counts. Those are handled by dedicated blocks: Raised Amount, Goal Amount, Percentage, and Recent Donors.

Important: This block does not support Query Loop context. It is intended for single action pages only.

How to use it

  1. Add the Stats block to a single action page template.
  2. Toggle Show Creator in the inspector (on by default).
  3. Adjust layout as needed.

Settings and options

OptionTypeDefaultDescription
Show creatorbooleantrueDisplay the creator name
Post ID overridenumber0Force a specific post ID

What you can and cannot do

  • The block only shows the creator name. There are no numerical statistics in this block.
  • If the creator chose anonymous mode, the name is suppressed regardless of the block setting.
  • The block does not support Query Loop context.

Developer reference

Output filter

apply_filters(
    'get_fund_stats_block_output',
    string $output,
    array  $attributes,
    int    $post_id
);