This addon has a collection of miscellaneous shortcodes for the Simple Membership plugin. Over time more shortcodes will be added to it.
Once this addon plugin is installed and activated, you can use the shortcodes explained in this page.
Download the SWPM Misc Shortcodes Addon
Click here to download the addon.
Install the Addon
- Click on the Add New menu under the plugins interface.
- Go to the Uploader tab and upload the swpm-misc-shortcodes.zip file.
- Hit the Install Now button and then activate the addon.
Allow Members to Change/Update Their Membership Level
Normally, you charge members to upgrade their membership level to a new one. However, you may want to create a special page that you use to give your members the ability to update their level for free.
This shortcode allows you to create a button that the members can use to change/upgrade their membership level by clicking on it. It can be used to allow you members to renew a membership for free or give them access to a level for free.
You specify the Target Membership Level in the shortcode.
Below is an example of how to use this shortcode. 3 is the membership level ID value in this example (the members level will be upgraded to this level when they use this button).
[swpm_update_level_to level="3" button_text="Update Level to Silver"]
You can also redirect the members to a specific page after they use the button. The following example shows how to use the shortcode for that:
[swpm_update_level_to level="3" button_text="Update Level to Silver" redirect_to="http://example.com/some-page"]
You should protect the page that has this shortcode so only members or users or particular level can see and interact with the button.