Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember F.A.Q/Instructions › How to Upgrade Membership Level Using a Shortcode
Tagged: customize button, members, membership upgrade, shortcode, wp membership
- This topic has 4 replies, 2 voices, and was last updated 10 years, 6 months ago by
admin.
-
AuthorPosts
-
November 21, 2014 at 10:25 pm #11815
admin
KeymasterPlease read the standard membership upgrade and renewal documentation first to learn how upgrades work:
The following option is not the standard method of handling upgrade. This option is useful if you want to create a hidden page and send some users to that page to get a free upgrade.
The eMember plugin has the following shortcode that you can use on a page to create a manual upgrade button. When a logged in member clicks on the button that this shortcode generates, it upgrades that user’s membership level to the one specified in the shortcode.
[wp_eMember_upgrade_membership_level_to level=”3″]
3 is the membership level ID.
The shortcode can take a few additional parameters. Here is an example:
[wp_eMember_upgrade_membership_level_to level=”3″ button_text=”Click Me” redirect_to=”example.com/redirect-page”]
April 14, 2015 at 3:41 pm #66948ludovic
MemberHello,
How can I customize the button of this shortcode :
[wp_eMember_upgrade_membership_level_to level=”3″ button_text=”Click Me” redirect_to=”example.com/redirect-page”]
Pending your reply.
Thanks.
Ludovic
April 14, 2015 at 11:46 pm #66949admin
KeymasterIt has CSS classes that you can use to apply CSS tweaks and customize the look and feel of the button.
The following post should be helpful:
April 17, 2015 at 4:06 pm #66950ludovic
MemberThanks.
The problem is if I change the CSS of the button, I do that in your plugin.
And the day when I will update it, i will lose all the changes.
How can I avoid that ?
Pending your answer.
Thanks
Ludovic
April 18, 2015 at 1:52 am #66951admin
KeymasterNo, you use the following plugin to add your custom CSS (so it doesn’t get lost when you upgrade). It is referenced from that other tutorial I shared with your earlier:
https://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413
-
AuthorPosts
- You must be logged in to reply to this topic.