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 | Charitable Share updates about your fundraising campaign](https://www.wpcharitable.com/wp-content/uploads/edd/2015/08/Screen-Shot-2015-08-18-at-3.14.58-pm-1024x323.png)
You can write your updates directly into the text area inside this tab.
Display updates with a widget
![Screen Shot 2015-08-18 at 3.29.35 pm | Charitable The Updates widget can be added via the WordPress Customizer](https://www.wpcharitable.com/wp-content/uploads/edd/2015/08/Screen-Shot-2015-08-18-at-3.29.35-pm-150x150.png)
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:
[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:
![Find the ID of your campaign in the browser address bar | Charitable You can see the ID of your campaign in the browser address bar](https://www.wpcharitable.com/wp-content/uploads/2015/08/Edit_Campaign_‹_Layers_—_WordPress.png)
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.