Patronage form

The Patronage form block and shortcode display a form to subscribe to your tiers.

Block options

(Coming soon)

Shortcode options

You can also use the [patronstips_tier_form] shortcode to display a list of your patrons and use this table to configure it:

AttributeExpected value
redirectA URL to redirect to after submitting the form. Default: checkout page with WooCommerce, or the “Patron area” page if the user is logged in, or no redirect otherwise.
submit_labelSubmit button label.
tiersTier IDs (comma separated) that will be displayed in the form. Default: all tiers.
frequenciesTier frequency identifiers to include in the form (one_off, month) (comma separated). Default : all frequencies.
default_tierTier ID selected by default.
default_frequencyFrequency identifier selected by default: one_off, month.
include_taxSet it to 1 to include tax to the displayed price. Default: use WooCommerce settings.
decimalsThe number of decimals to display the tier price (integer). Default: 0 / WooCommerce settings.
image_sizeSet the desired tier icon size: full, large, medium, thumbnail. Default: medium / full if image_only is set to 1.
order_byid, title, user_id, creation_date, active, price.
orderPossible values are desc (descending: highest to lowest) or asc (ascending: lowest to highest). Designates the ascending or descending order of the “order_by” parameter. You must specify the “order_by” parameter (see above). Default: desc.

Shortcode examples

Display a patronage form with a call-to-action “Become my patron”.

[patronstips_tier_form submit_label="Become my patron"]

Display a patronage form containing tiers with IDs 2, 3 and 5.

[patronstips_tier_form tiers="2, 3, 5"]

Leave a Comment

Scroll to Top