The Patronage period goals block and shortcode display a list of goals with a progress bar to encourage more backers to join.
Block options
(Coming soon)
Shortcode options
You can also use the [patronstips_period_goals] shortcode to display a list of goals and use this table to configure it:
| Attribute | Value |
|---|---|
| unit | Set the goals unit: currency or patron. Default: currency. |
| show_percent | Set it to 0 to hide the progress bar. Default: 1. |
| show_value | Set it to 0 to hide the goals values. Default: 1. |
| values | The goals values (comma separated integers). |
| titles | The goals titles (comma separated). |
| descriptions | The goals descriptions (comma separated). |
| include_tax | Set it to 1 to include tax in goals calculation. The “unit” parameter must be currency. Default: 1. |
| include_discounts | Set it to 1 to deduce discounts from goals calculation. The “unit” parameter must be currency. Default: 0. |
| include_scheduled | Set it to 1 to include scheduled recurring payments to goals calculation, even if you have not captured them yet. The “unit” parameter must be currency. Default: 1. |
| include_manual | Set it to 1 to include patronage entries added manually. The “unit” parameter must be currency. Default: 0. |
| decimals | The number of decimals to display the total income (integer). The “display” parameter must be currency. Default: 0 / WooCommerce settings. |
Shortcode example
Display these 2 goals:
- Goal 1 is 20 patrons and reward is a giveaway
- Goal 2 is 50 patrons and reward is a livestream
[patronstips_period_goals unit="patron" values="20, 50" titles="Goal 1, Goal 2" descriptions="I will make a giveaway, I will make a livestream"]
