Installing Charitable Simple Updates is the same as installing any other Charitable extension. If you’re not sure how to do that, we recommend first reading our guide to installing Charitable extensions.
Once the plugin is activated, you can edit any campaign to see the new Updates tab added to the campaign’s advanced settings box.
You can write your updates directly into the text area inside this tab.
Display updates with a widget
To display campaign updates inside a widget ready area, you can use the Campaign Updates widget.
In your WordPress dashboard, go to Appearance > Customize and open up the Widgets panel (in certain themes, this panel may be named something else).
Find the widget area that you would like to add the widget to, and then click the Add a Widget button, selecting the Campaign Updates widget to add it.
You can choose to show updates by a specific campaign or limit it to the campaign currently being viewed. If you choose “Campaign currently viewed”, the widget will only display on single campaign pages.
You can also choose to completely hide the widget if there are no updates to show.
Display updates with a shortcode
You can also add the Updates to any content area using the
[campaign_updates] shortcode. In this example, we have added the updates to the campaign’s extended description:
You can also add a campaign ID to the shortcode as a parameter, which allows you to display a specific campaign’s updates. This is useful when displaying the updates on a separate page or post. For example:
In this example, the updates for the campaign with ID 11 will be displayed. You can find the ID of your campaign by looking at the URL of the page where you edit it. For example:
Integrate it with a PHP function
If you’re comfortable writing a little PHP, you can integrate updates with a simple PHP function.
$campaign_id = 11; charitable_simple_updates_template_campaign_updates( 11 );
This function will display the updates — you do not need to use