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

eMember – Remove/hide membership level in login widget

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › eMember – Remove/hide membership level in login widget

Tagged: hide membership level, login widget, membership

  • This topic has 4 replies, 4 voices, and was last updated 12 years, 2 months ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 5, 2012 at 5:33 am #7327
    webfireworx
    Member

    Hi,

    How can i hide the membership level in the login widget when a member is logged in?

    Thanks, carl

    September 5, 2012 at 12:29 pm #49000
    Peter
    Member

    It may be better to customize the label that says membership level and call it something generic rather than removing it. You can customize the text using this technique:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-plugin

    Anyway, you will have to modify some php code to achieve this.

    In the file called eMember_auth_utils.php look for the following two lines of code in the function called “eMember_login_widget”:

    <br />
    $output .= '<br />' . EMEMBER_LOGGED_IN_LEVEL;<br />
    $output .= '<label class="eMember_highlight">'.$auth->user_membership_level_name.'</label>';<br />

    Then delete these two lines if you don’t want the level displayed.

    Note: Hacking the plugin code is not recommended if you are not comfortable with php or other programming and any changes you make you do so at your own risk.

    September 6, 2012 at 2:36 am #49001
    webfireworx
    Member

    Perfect, this was exactly what i needed.

    I edited the PHP code and works just fine, thank you!

    March 8, 2013 at 1:14 pm #49002
    Peaches
    Member

    Good morning. I followed the above instructions and deleted the lines, but the membership level stills appears on the form. Please help.

    Thanks,

    Paula

    March 9, 2013 at 10:21 pm #49003
    admin
    Keymaster

    What version of the plugin are you using? Which file and what line of code did you modify? Post a link to the page where we can see this. You can create a test membership account and share the details so we can view the issue in our browser.

  • 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