Shortcodes for Members’ Codes
Shortcodes for Members’ Codes
Knowledge Base
-
Monetico Gateway
0
- Customer Experience 1
- Getting Started 2
- Orders and Refunds 2
-
My Christmas Advent Calendar
0
- Getting Started 3
-
Payout / Withdrawal
0
- Getting started 4
- Gateways 3
-
Registration Codes
0
- Codes Management 1
-
Front End Display
3
- Where Users Enter Their Code
- Build a Registration Form
- Shortcodes for Members’ Codes
- Getting Started 1
-
WooCustomAccount
0
- Front End Display 1
- Getting Started 1
- Settings 1
-
Sales Campaigns
0
- Getting Started 3
- Settings 3
- Analytics 1
-
Referral Codes
0
- Getting Started 1
- Settings 5
- Codes Management 1
- Front End Display 4
-
VIP Memberships
0
- Getting Started 1
- Members Management 3
- Front End Display 4
- Changelog 1
-
WooRewards
0
- Popups 2
- MyRewards (Free Version) 5
- Getting Started 2
- Tutorials 4
- Features 13
-
Actions
23
- Spend Money
- Place an order
- Place a first order
- Buy Specific Products
- Buy in categories
- Product Review
- User registration
- Birthday
- Visit a post, page or url
- Send a referral email
- Referee registration
- Referee spends money
- Referee Orders
- Referee buys products
- Referee buys in categories
- Share on social networks
- Visitor clicks a social share
- Receive Badges
- Registration Anniversary
- Post a comment
- Click an image
- Publish a post
- Recurrent Visit
- Rewards 12
- WooCommerce Display 5
- Emails 7
- Shortcodes 7
- API 8
- Developer Resources 2
-
Add-Ons
13
- The Newsletter Plugin Subscription
- Klaviyo Sync
- MC4WP Mailchimp subscription
- Points and Rewards System Limitation
- Referrals Information
- Points History Excel Export
- Points for Coupon
- Settings Migration
- Subscription Coupon Reward
- Partial Refund Reward
- The Scheduler
- Delayed and Recurring Points
- Points Synchronization
- Play Together 2
- Translations and WPML 2
- Changelog 1
-
Virtual Wallet
0
- Getting Started 2
- Settings 6
- Front End Display 4
- Customers Management 2
- Add-Ons 1
- Play Together 1
- Changelog 1
- Knowledge Base
- Registration Codes
- Front End Display
- Shortcodes for Members’ Codes
These two shortcodes are available when WooVIP is active. They let your members generate registration codes and follow them. First set the codes up on a membership: see Let Members Offer a Membership.
Go to
You find them, with their options, in the shortcodes tab of this page, in the group Registration Codes.
Code generation
Displays to your members a tool to generate registration codes for their friends.
[[rc_vip_code_generation]]
The tool lists the memberships the member can offer, with the duration of each. The member selects one, then clicks the generation button. The new code appears with a button to copy it, and a sentence telling what it gives, for example This code gives access to the (membership) membership for (duration) upon registration. A membership disappears from the list when the member has no code left for it.
The tool is displayed to members who still can generate codes. Other visitors see nothing, or the content you put between the opening and closing tags of the shortcode.
Options:
- label: the label displayed on top of the registration codes form. Default is Select a membership to offer.
- button: the label displayed on the code generation button. Default is Generate a registration code.
- id: (optional) for styling purpose, an id set on the DOM element.
Example: [[rc_vip_code_generation label="Offer a membership" button="Get a code"]]
Codes history
Displays the registration codes of the logged-in member, the ones they can share, and their status.
[[rc_vip_codes_history]]
The list updates by itself when the member generates a new code. If the member has no code yet, nothing is displayed, or the content you put between the opening and closing tags of the shortcode.
Options:
- columns: the columns to display, separated by commas. By default, the shortcode displays the code, the creation date, the code status and the membership given.
- column_headers: the headers that match the columns you set in the columns option, separated by commas. Ignored if the columns option is missing.
The available columns and their default headers:
- code: the registration code. Header Code.
- creation: the code creation date. Header Creation Date.
- status: the code status, Used or Not used. Header Status.
- user: name of the person who used the code. Header Used by.
- email: email of the person who used the code. Header Used by email.
- used: date at which the code was used. Header Used date.
- membership: the membership given by the code. Header Membership given.
- duration: the duration of the membership given by the code. Header Membership duration.
Example: [[rc_vip_codes_history columns="code, creation" column_headers="Registration Code, Creation Date"]]