FREE block. A call-to-action button that links to the Action Wizard with the current campaign pre-selected.

Why use this
Campaign pages need a prominent way for visitors to start their own fundraising action under that campaign. This button links directly to the wizard with the campaign context already loaded, so visitors skip the campaign selection step.
What it does
The block generates a link to the configured Wizard page, appending ?campaign={post_id} so the wizard pre-selects the current campaign. Before rendering the button, the block checks three conditions:
- The campaign’s
_get_fund_statusisclosed: renders a “Campaign is closed” notice instead of the button. - The
_get_fund_children_disabledmeta is set: renders a “New actions are disabled” notice. - The action has expired (
_get_fund_expired): renders an expiry notice.
The button only renders on get_fund_action singular pages. On other page types it outputs nothing.
Default button size is Large, not medium.
How to use it
- Add the Campaign Action Button block to a campaign page template.
- Customise the button text, size, and colors in the inspector.
- Leave Wizard Page URL blank to auto-detect the configured wizard page. Override it only if you have a custom setup.

Settings and options
| Option | Type | Default | Description |
|---|---|---|---|
| Button text | string | Start Action for This Campaign | Button label |
| Button size | string | large | small, medium, large, or text |
| Alignment | string | center | left, center, or right |
| Wizard page URL | string | — | Override auto-detected wizard URL |
| Is outline | boolean | false | Outline style instead of filled |
| Border thickness | number | 2 | Outline border thickness |
| Border color | string | #4a9d44 | Outline border color |
| Outline text color | string | #4a9d44 | Outline button text color |
| Outline hover text color | string | #ffffff | Outline hover text color |
| Full width | boolean | false | Stretch to full container width |
| Button color | string | — | Filled button background |
| Button text color | string | — | Filled button text |
| Button hover color | string | — | Filled button hover background |
| Text weight | string | 600 | Font weight (text style) |
| Underline height | number | 2 | Underline thickness (text style) |
| Text link hover color | string | — | Hover color (text style) |
What you can and cannot do
- This block only renders on singular
get_fund_actionpages. It renders nothing on archive pages, the wizard page itself, or other page types. - When the campaign is closed, children are disabled, or the action is expired, the button is replaced with a notice. You cannot suppress that notice without code.
- The
?campaign=URL parameter is appended automatically; you do not need to set it manually.
Troubleshooting
Button does not appear: The block may be on a page that is not a singular action, or the action’s status is closed/expired.
Clicking the button shows the wizard without the campaign pre-selected: The wizard page URL may be incorrect. Check Settings > Fundations > Pages and confirm the Wizard page is set. Alternatively, enter the URL directly in the Wizard Page URL attribute.
A notice appears instead of the button: The campaign is closed, new actions are disabled for this campaign, or the action has expired. Edit the action in the admin to change the status.