DOCS

Action Title

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.

Action title example

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

  1. Add the Action Title block from the Fundations category.
  2. In the inspector, choose an HTML tag (H1 through H6, p, span, or div).
  3. Toggle Link to fundation page on if you want the title to be clickable.
  4. Enter Prefix text and/or Suffix text if you need surrounding copy, for example “Donating to:” before the title or “campaign” after it.
  5. Set alignment, and adjust font size, color, and weight as needed.

Settings and options

OptionTypeDefaultDescription
HTML tagstringh2The element wrapping the title: h1–h6, p, span, or div
Link to fundation pagebooleantrueWrap the title in an anchor tag pointing to the action permalink
Alignmentstringleftleft, center, or right
Prefix textstringPlain text rendered before the title
Suffix textstringPlain text rendered after the title
Font sizenumberFont size in pixels; leave at 0 to inherit from the theme
Text colorstringText color; pick via the color panel in the inspector
Font weightnumberFont 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 a fund_action parameter.

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.