Protection Add-On Shortcodes

This page contains a demo for Wishlist Smart Shortcodes – Protection Add-On Shortcodes.

The protection add-on includes 8 different shortcodes which are divided to 2 tables according to the types of actions they do.

Be sure to follow the “How to experiment with the shortcodes” sections.

Statistical Protection Shortcodes

* The numbers under the “Shortcode in Action” column update automatically using the shortcodes

Important Note: Shortcodes that display unique content will only count the post / page once, for example: a post related to both Free and Pro levels, it will be counted only 1 time

PurposeShortcodeShortcode in Action
Total number of paid posts under pay-per-post protection[ wlss_payperpost_count ]
[wlss_payperpost_count]
Total number of paid pages under pay-per-post protection[ wlss_payperpage_count ]
[wlss_payperpage_count]
Total number of unique protected posts and pages in a specific level as defined in the "levels" parameter (Free)[ wlss_protected_posts_and_pages_count levels="Free" ]
[wlss_protected_posts_and_pages_count levels="Free"]
Total number of unique protected posts and pages in a specific level as defined in the "levels" parameter (Pro)[ wlss_protected_posts_and_pages_count levels="Pro" ]
[wlss_protected_posts_and_pages_count levels="Pro"]
Total number of unique protected posts and pages in a specific level as defined in the "levels" parameter (Premium)[ wlss_protected_posts_and_pages_count levels="Premium" ]
[wlss_protected_posts_and_pages_count levels="Premium"]
Total number of unique protected posts and pages in a specific level as defined in the "levels" parameter (Platinum)[ wlss_protected_posts_and_pages_count levels="Platinum" ]
[wlss_protected_posts_and_pages_count levels="Platinum"]
Total number of unique protected posts and pages in a specific level as defined in the "levels" parameter (Free + Pro)[ wlss_protected_posts_and_pages_count levels="Free,,Pro" ]
[wlss_protected_posts_and_pages_count levels="Free,,Pro"]
Total number of unique protected posts and pages in all levels (Free + Pro + Premium + Platinum)[ wlss_protected_posts_and_pages_in_all_levels ]
[wlss_protected_posts_and_pages_in_all_levels]

How to experiment with the statistical shortcodes:

  • Create your demo website in this link
  • Change the protection settings of posts and pages inside the demo website
  • Refresh this page and see how the numbers under the “Shortcode in Action” column change according to the new protection settings you determined

Upgrading Actions Shortcodes

PurposeShortcode
Upgrade to the level/ levels defined in the "levels" parameter in a click of a button[ wlss_add_to_levels_button ]
Upgrade to the level/ levels defined in the "levels" parameter by accessing a specific content the shortcode was copied to[ wlss_add_to_levels_redirection ]
Grant access in a click of a button to post/ posts defined in the "posts" parameter[ wlss_add_to_posts_button ]
Grant access to post/ posts defined in the "posts" parameter by accessing a specific content[ wlss_add_to_posts_redirection ]

How to experiment with the upgrading actions shortcodes:

  • Create your demo website in this link
  • Change your levels permissions under the Wishlist Member settings > Members
  • Copy-paste any of the shortcodes to any post or page
  • Follow the action required as defined in the “Purpose” column
  • Check your membership levels again and see that the level you specified in the shortcode was added to your user under the Wishlist Member settings > Members

Recommended Resources

We recommend going over the information about each of the shortcodes you experiment with in the plugin’s manual, as it will help you understand each plugin better, plus, it includes examples and additional parameters available.