Grant access in a click of a button to post/ posts defined in the “posts” parameter
Usage
All you need to do display this information is to insert the shortcode below to any post or page you like:
[wlss_add_to_posts_button posts="732,,193"]
Parameters
You can add the below parameters to the shortcode in order to configure it better to your own membership site’s structure:
Parameter Name | Required / Optional | Description |
levels | Required | Levels names separated with a delimiter ,, |
delimiter | Optional | You can change the default delimiter ,, and use your own delimiter symbols [ delimiter=”your chosen symbol” ] |
label | Optional | The text that appears in the button. Default is “upgrade” but can be changed to any other text you like |
redirect | Optional | The page you want to redirect members who click on the upgrade button. Default is the same page. [redirect=”your link here”] |
Example
[wlss_add_to_posts_button posts="21,,32,,109" txn="Upgrade Button" redirect="http://yourdomain.com/claim-your-bonus"]