I was recently asked how a site could customize their membership levels page to show different levels to the visitor and the logged-in member (for “upgrade” levels). This is useful if you have a specific upgrade path, be it for courses, a unique step-by-step program or other “tiered” access that you want to control the flow for.

This can be easily accomplished using the built-in membership shortcode alongside our Advanced Levels Page Shortcode Add On.


How to Do it: Demo

Read documentation on the membership shortcode and our Advanced Levels Page Shortcode Add On for instructions on how to modify this demo code for your project.

It may also be smart to add a link to your login page above or below the levels shortcode, something along the lines of:


Important Notes

  • Setting up the site in this method will not put the checks in place to require a level in order to check out for another level (i.e. if you have to purchase Level 1 in order to upgrade to Level 2). Checkout the code recipe below for a tutorial to put that registration check in place.https://www.paidmembershipspro.com/require-a-specific-level-to-allow-registration-for-another-level/
  • Don’t check the box to “Disable Signups” for the levels on the Memberships > Levels > Edit Level page. This totally blocks the level for public registrations (as well as display on a page using the pmpro_levels or pmpro_advanced_levels shortcodes).
This entry was posted by Kimberly Coleman in Newsletter, Recipes and tagged . Bookmark the permalink. Last updated: April 11, 2016. Titled Display Custom Membership Level Options Based on Current User’s Level

Comments (3)

Hi
Will it be okay to use WPBakery Page Builder shortcodes inside of the PaidMembership shortcodes?

For example,

[membership level="0,2,3,5"][student][visitor]iughjgkljh[vc_row el_class=”hidden-lg” mobile_bg_img_hidden=”no” tablet_bg_img_hidden=”no” woodmart_parallax=”0″ woodmart_gradient_switch=”no” row_reverse_mobile=”0″ row_reverse_tablet=”0″ woodmart_disable_overflow=”0″][vc_column][vc_column_text text_larger=”no”][/vc_column_text][vc_column_text text_larger=”no”]описание курса[/vc_column_text][woodmart_title color=”black” subtitle_font=”alt” title=”Другие уровни” woodmart_css_id=”5db2cf8e4da5a” title_width=”100″ el_class=”text-larger”][woodmart_gallery images=”53765,53766,53762″ view=”grid” spacing=”2″ horizontal_align=”center” on_click=”links” columns=”1″ target_blank=”0″ lazy_loading=”no” img_size=”full” custom_links=”#E-8_aHR0cHMlM0ElMkYlMkZydS5zdGVnbWF4LmNvbSUyRmt1cnMlMkZtb2RhbC12ZXJicy1iZWdpbm5lci1mcmVlJTJGJTJDaHR0cHMlM0ElMkYlMkZydS5zdGVnbWF4LmNvbSUyRmt1cnMlMkZtb2RhbC12ZXJicy1lbGVtZW50YXJ5JTJGJTJDJTIz”][woodmart_title color=”black” align=”left” subtitle_font=”alt” title=”Другие уровни” woodmart_css_id=”5db1402717d10″ title_width=”100″ el_class=”text-larger”][woodmart_gallery images=”53595,53597,53616″ view=”grid” spacing=”0″ on_click=”links” img_size=”full” target_blank=”0″ custom_links=”#E-8_aHR0cHMlM0ElMkYlMkZydS5zdGVnbWF4LmNvbSUyRmt1cnMlMkZtb2RhbC12ZXJicy1iZWdpbm5lci1mcmVlJTJGJTJDaHR0cHMlM0ElMkYlMkZydS5zdGVnbWF4LmNvbSUyRmt1cnMlMkZtb2RhbC12ZXJicy1lbGVtZW50YXJ5JTJGJTJDJTIz” lazy_loading=”no” columns=”6″][vc_column_text text_larger=”no”][/vc_column_text][/vc_column][/vc_row][/student][/visitor][/membership]

So, this is supposed to be shown to people without a membership and people with ID 2,3,5 memberships, right?

On top of that, now there are a lot of other plugins which provide their own shortcodes, will it be okay to use them inside the shortcodes of your plugin?

I have not tested this exact setup using WP Bakery, but on our own site I do use the Memberlite Shortcodes within PMPro’s ‘membership’ shortcode without issue. I would suggest testing this in a local environment.

Leave a Reply

For faster support related to issues on your specific site please open a ticket in our members support area.

Your email address will not be published. Required fields are marked *