Advanced Levels Page Shortcode Addon [ Paid Memberships Pro ]

Verified From

Product Details


Version:  Latest

Last Update: 10 Feb 2024 

Release Date:  17 Apr 2022

Uses: Unlimited Domain

Products Source: Original Authors.

Future Updates: One Year / Lifetime

License Type: GPL

Live Demo

Advanced Levels Page Shortcode

Customize the levels page with column layouts, hide/show specific plans and plan details, and display your pricing table anywhere on your membership site.

This is a  Standard Add On.

Standard Add Ons are included in all premium membership plans.

How it Works

This shortcode displays the Membership Levels just like the [pmpro_levels] shortcode, with extended options for customizing the display.


Installation

You must have the Paid Memberships Pro plugin installed and activated with a valid license type to use this Add On.

  1. Navigate to Memberships > Add Ons in the WordPress admin.
  2. Locate the Add On and click “Install Now”.
    • To install this plugin manually, download the .zip file above, then upload the compressed directory via the Plugins > Add New > Upload Plugin screen in the WordPress admin.
  3. Activate the plugin through the Plugins screen in the WordPress admin.

Edit your Memberships Levels page and replace the [pmpro_levels] shortcode with your customized [pmpro_advanced_levels] shortcode described below.

Note this shortcode can be used anywhere on your site – not only on the Membership Levels page.


Shortcode Example and Attributes

[pmpro_advanced_levels levels="1,3,2" layout="3col" description="true" checkout_button="Sign Me Up!" price="full"]

  • back_link: Optionally hide to “Return to Home” or “Return to Your Account” links below levels layout (default: true).
  • checkout_button: The button text for the action button (default: Select).
  • compare: Only for compare_table layout, shows the comparison item rows. See below for a demonstration.
  • description: Show the level description; accepts “true” or “false” (default: true).
  • discount_code: Optionally apply a discount code to your membership level pricing. accepts the discount code (default: none).
  • expiration: Show the level expiration; accepts “true” or “false” (default: true).
  • levels: A comma-separated list of membership level IDs to display, in the order you want to display them; can be a single level ID (default: all levels ordered by ascending ID).
  • layout: How to display the levels; accepts “div”, “table”, “2col”, “3col”, “4col” or “compare_table” (default: div).
  • price: How to display the level cost text. accepts “full”, “short” or “hide” (default: short).
  • renew_button: The button text for the action button shown to existing members with an expiring level (default: Renew).
  • template: Specify an integrated theme framework to inherit formatting. accepts “bootstrap”, “genesis”, “woo themes”, “gantry”, “pagelines” or “foundation” (default: none).

How to Set Up the Comparison Table Items

The unique shortcode attribute “compare” allows you to specify the rows of comparison items and display a checkmark, leave blank, or custom text for each level in your comparison table layout.

Here’s a sample of the “compare” attribute:
[pmpro_advanced_levels layout="compare_table" compare="Compare Item 1,1,1;Compare Item 2,0,1;Compare Item 3,0,1;Numerical Thing,10 Things,20 Things"]

The attribute “compare” accepts groups of comparison rows separated by a semi-colon (;) – in each group of comparison row, separate the label for the row and a “0” or “1” to show/hide a checkmark, or the text to show for that level. If this is confusing (and we know it kind of is), just open a topic in the support forums and we will help you get this working.

You can optionally include hyperlinks in the “compare” attribute as well (we do this on our own pricing page).

When using the compare_table layout, row labels and row content can include hyperlinks. To do this, you must be careful with how your shortcode uses single (') and double-quotes ("). We do this on our own pricing page here.

  • Use single quotes to wrap shortcode attributes:
    layout='compare_table'
  • Use double quotes for the link items in the row labels:
    compare='<a href="/item-1/">Item 1</a>,1,1;<a href="/item-2/">Item 2</a>,0,1'

Here is a full example of using hyperlinked row labels with the compare_table layout:

 

Reviews

There are no reviews yet.

Be the first to review “Advanced Levels Page Shortcode Addon [ Paid Memberships Pro ]”