Charitable Simple Updates

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.

Usage

Once the plugin is activated, you can edit any campaign to see the new Updates tab added to the campaign’s advanced settings box.

Share updates about your fundraising campaign

The Updates tab is 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

The Updates widget can be added via the WordPress Customizer

The Updates widget can be added via the WordPress Customizer

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:

Adding the [campaign_updates] shortcode to the campaign description.

Adding the [campaign_updates] shortcode to the campaign 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:

[campaign_updates campaign_id=11]

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:

You can see the ID of your campaign in the browser address bar

You can see the ID of your campaign in the browser address bar. Here, the campaign ID is 11.

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 echo or print to render them.