Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How to Upgrade Membership Level Using a Shortcode

by

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 ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 21, 2014 at 10:25 pm #11815
    admin
    Keymaster

    Please read the standard membership upgrade and renewal documentation first to learn how upgrades work:

    https://www.tipsandtricks-hq.com/wordpress-membership/how-to-create-payment-buttons-for-membership-upgrade-189

    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 #66948
    ludovic
    Member

    Hello,

    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 #66949
    admin
    Keymaster

    It 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:

    http://www.tipsandtricks-hq.com/how-to-use-firebug-to-modify-your-wordpress-sites-css-video-tutorial-4037

    April 17, 2015 at 4:06 pm #66950
    ludovic
    Member

    Thanks.

    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 #66951
    admin
    Keymaster

    No, 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

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ