Progress Bar Shortcode

If you want to display a progress bar, use the following shortcode:

The shortcode can only be displayed as an image here to avoid formatting issues. The progress bar shows the sum of donations to the specified project with the status “completed”.

Parameters

All parameters except id are optional.

Parametervaluedetails
id (required)Product IDProduct ID of the WooCommerce Product the donation form should use
style1 (default)
2
3
4
Style of the progress bar (see below)
goalfundraising goalThe amount you would like to collect with the fundraiser
cheatPositive or negative numberThis amount will be added to the donations already collected. This allows you to include external donations, for example.
addidsProduct ID(s)
separate multiple IDs with a comma (e.g. 195,209,234)
Show the combined donation barometer for multiple products

Styles Available

Progress Bar styles

Examples

please remember to add brackets []

wcdp_progress id="1234" wcdp_progress id="1234" addids="222,333,444" wcdp_progress id="1234" goal="1000" cheat="230" wcdp_progress id="1234" style="3"