Created
January 16, 2019 20:16
-
-
Save ideadude/c35d5e047cee14cf520f5904bfe72b4f to your computer and use it in GitHub Desktop.
Examples of the PMPro [membership] shortcode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[membership level="0"] | |
<!--this is shown to non-members and non-logged in visitors--> | |
[pmpro_advanced_levels levels="1,2,3" layout="3col"] | |
[/membership] | |
[membership level="1,2"] | |
[pmpro_advanced_levels levels="2,3" layout="2col"] | |
<!--this is shown to Level 1 and 2 Members--> | |
[/membership] | |
[membership level="3"] | |
[pmpro_advanced_levels levels="4"] | |
<!--this is shown to Level 3 Members--> | |
[/membership] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This recipe is included in the blog post on "Display Custom Membership Level Options Based on Current User’s Level" at Paid Memberships Pro here: https://www.paidmembershipspro.com/display-custom-membership-level-options-based-current-users-level/