Skip to content

WooRewards

  1. Home
  2. Docs
  3. WooRewards
  4. Legacy
  5. Shortcodes
  6. Sponsorship shortcodes

Sponsorship shortcodes

This documentation is for the WooRewards plugin

In this section, you will find shortcodes relative to sponsorship.

Summary

Email Sponsorship

This shortcode shows to customers a sponsorship email form.

[[lws_sponsorship header="your header" button"Submit" unlogged="true"]]

  • Attribute : Description
  • header : The text displayed before the email sponsorship.
  • button : The text displayed in the Submit button.
  • unlogged : (Optional) If set, unlogged user will be able to use the email sponsorship.

 

Sponsorship / Referral Link

This shortcode shows to customers a sponsorship/referral link or QR Code.

[[lws_sponsorship_link header="your header" display="both|qrcode|link" url="your_url"]]

  • Attribute : Description
  • header : The text displayed before the referral link or QR Code.
  • display : Select the display type you want to show to customers
    • both : QR Code and Link will be displayed
    • qrcode : Only the QR Code will be displayed
    • link : Only the Link will be displayed
  • url : By default, the shortcode shares the url of the page it’s displayed on. You can override that setting by setting an url in this option.
Scroll To Top