Plugin Support
Tania
(@taniaallen)
Hi! Good timing. As of Mission 1.2.0, which just went live, every Mission block has a shortcode equivalent, so you can build your whole site in Bricks and drop Mission in wherever you need it using the built-in Shortcode element.
The available shortcodes are:
[mission_donation_form]
[mission_donate_button]
[mission_campaign] (campaign card)
[mission_campaign_grid]
[mission_campaign_image]
[mission_campaign_progress]
[mission_campaign_statistics]
[mission_donor_wall]
[mission_recent_donors]
[mission_top_donors]
[mission_donor_dashboard]
Attributes mirror the block settings in snake_case. For example:
[mission_donation_form campaign_id="12" amounts="10,25,50" default_amount="25" donate_button_text="Give Now"]
Native Bricks elements are on the roadmap, but I’m not sure when they’ll be ready. In the meantime, the shortcodes should get you building today.
If you’d like a hand setting up your site, just let me know. I’m happy to help however I can.
Thanks for you ultra-fast reply! 😀 I will waiting for the update.
Hi Again!
I tested the new shortcodes options, but maybe its not working corretly.
I have set I my campaing donor form in setting (example only one time payment, and added my selectable prices)
After chect from the slud the campaign ID number, and set it up in bricks builder editor shortcode element.
[mission_donation_form campaign_id=”2″]
It is just show a campaign form, but not mine!
Plugin Support
Tania
(@taniaallen)
The shortcode doesn’t automatically copy the customizations you made to the form on your campaign’s page. The campaign_id attribute controls which campaign the donation counts toward, but the form’s appearance and options are set with shortcode attributes. Sorry for the confusion.
To match what you configured, pass those settings directly in the shortcode attributes. For one-time only with your own amounts, it would look like:
[mission_donation_form campaign_id="2" recurring_enabled="false" amounts="10,25,50" default_amount="25"]
I’ve added “shortcode inherits the campaign form’s saved settings” to our roadmap, since I agree that’s what you’d naturally expect campaign_id to do. That should hopefully be in the next release.