How to Display User's Current Membership Level

Hello - how do I make a message that displays the users current membership level? I currently have three setup. I would like it to automatically say "You are currently a [gold, silver, or bronze] Member", but automatically fill in the level.

I tried using the [ms-membership-title] shortcake but couldn't make it work.

  • Bojan Radonic
    • Head of Support

    Hey there @Peter, hope you're well today!

    In order to use that shortcode you'll have to add level ID in order for it to be displayed. An Example of that would be this:

    [ms-membership-title id="5"]

    But this will only display membership title of a specific membership level which is not what you're looking for. Currently there is no shortcode for displaying user current membership level but since this is an interesting idea I'll move this thread to features and feedback so other members can vote on it and if it proves to be popular we'll consider adding it into future versions of the plugin :slight_smile:

    Best regards,
    Bojan

  • Philipp Stracker
    • The Crimson Coder

    Hey Peter,

    just a workaround that might work for now: Use the shortcode [ms-protect-content]

    [ms-protect-content id="10" silent="yes"]
        You belong to membership [ms-membership-title id="10"]
    [/ms-protect-content]
    [ms-protect-content id="20" silent="yes"]
        You belong to membership [ms-membership-title id="20"]
    [/ms-protect-content]
    ... (complete the list with all membership-IDs that you have) ...

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.