FREE block. Displays the title of a fundraising action, with optional prefix and suffix text, a link to the action page, and configurable font size, color, weight, and alignment.

Why use this
On pages driven by a URL parameter (like the checkout page at ?fund_action=115), WordPress does not automatically surface the name of the fundraising action. This block reads the same fund_action parameter that Raised Amount and Days Remaining use, so you can show the action name on the checkout page without any extra setup.
It also works in Query Loop templates when you want a linked or styled heading for each action card.
What it does
The block calls get_fund_data() to resolve the current action from the fund_action URL parameter (checkout page), the current post (action single template), or Query Loop context. It renders the title using the HTML tag you choose, optionally wrapped in a link to the action’s permalink. Prefix and suffix text appears as plain text outside the link.
How to use it
- Add the Action Title block from the Fundations category.
- In the inspector, choose an HTML tag (H1 through H6, p, span, or div).
- Toggle Link to fundation page on if you want the title to be clickable.
- Enter Prefix text and/or Suffix text if you need surrounding copy, for example “Donating to:” before the title or “campaign” after it.
- Set alignment, and adjust font size, color, and weight as needed.
Settings and options
| Option | Type | Default | Description |
|---|---|---|---|
| HTML tag | string | h2 | The element wrapping the title: h1–h6, p, span, or div |
| Link to fundation page | boolean | true | Wrap the title in an anchor tag pointing to the action permalink |
| Alignment | string | left | left, center, or right |
| Prefix text | string | — | Plain text rendered before the title |
| Suffix text | string | — | Plain text rendered after the title |
| Font size | number | — | Font size in pixels; leave at 0 to inherit from the theme |
| Text color | string | — | Text color; pick via the color panel in the inspector |
| Font weight | number | — | Font weight (100–900); leave at 0 to inherit from the theme |
What you can and cannot do
- The block works on the checkout page (
?fund_action=), on action single templates, and inside Query Loop templates. - Prefix and suffix text are plain text only, with no inline HTML or links.
- The block renders nothing when no action can be resolved and demo mode is off.
- When no post ID is available, the link falls back to
#. This happens if the block is on a standalone page without afund_actionparameter.
Troubleshooting
Block appears empty: The page has no fund_action parameter and is not an action post. Add ?fund_action=123 to the URL to test, or enable demo mode.
Title shows but link goes to #: The action ID could not be resolved to a published post. Check that the post ID in the URL is correct and the post is published.