DOCS

Campaign Updates

FREE block. Displays campaign updates as a collapsible accordion. Block ID: get-fund/updates.

Campaign updates example

Why use this

Campaign creators post updates to keep donors informed about progress. This block presents those updates in an expandable list so visitors can read as much or as little as they want.

What it does

Updates are stored as a serialized array in the _get_fund_updates post meta, managed from the action’s admin edit screen. Each update contains a title, content, date, and author. The block renders them as an accordion with optional expand-all behavior, a count badge, and a configurable load-more button.

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

How to use it

  1. Add the Campaign Updates block to the action template.
  2. Configure the title, colors, and typography in the inspector.
  3. Set Max Updates to limit how many items are visible before the load-more button appears (0 = show all).
  4. Campaign updates are added from the WordPress admin when editing the action.
Campaign updates inspector

Settings and options

OptionTypeDefaultDescription
Post ID overridenumber0Force a specific post ID
Show titlebooleantrueDisplay the block heading
Block titlestringCustom heading text
Show authorbooleantrueShow update author name
Show datebooleantrueShow update date
Max updatesnumber0Visible items before load-more; 0 = all
Expanded defaultbooleanfalseOpen all accordion items on load
Title font sizenumber20Block heading font size
Title font weightstring600Block heading font weight
Title colorstring#1d2327Block heading color
Count badge colorstring#f3f4f6Count badge background
Count text colorstring#6b7280Count badge text color
Update title font sizenumber16Individual update title font size
Update title colorstring#1d2327Individual update title color
Author name colorstring#374151Author name color
Date font sizenumber13Date font size
Date colorstring#6b7280Date text color
Badge backgroundstring#e0f2feStatus badge background
Badge text colorstring#0369a1Status badge text color
Body text colorstring#4b5563Update body text color
Body font sizenumber15Update body font size
Card backgroundstring#ffffffCard background color
Card border colorstring#e5e7ebCard border color
Card border radiusnumber8Card corner rounding
Load-more button backgroundstring#4a9d44Load-more button color
Load-more button text colorstring#ffffffLoad-more button text color

What you can and cannot do

  • Updates can only be added or edited from the WordPress admin, not from the frontend.
  • The block does not support Query Loop context.
  • There is no per-update visibility control; all updates are shown (up to maxUpdates).

Troubleshooting

No updates appear: No updates have been added to this action yet. Edit the action in WordPress admin and add updates.