Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] I want to display logged in username in widget

Simple Membership Plugin › Forums › Simple Membership Plugin › I want to display logged in username in widget

Tagged: Widget

  • This topic has 4 replies, 2 voices, and was last updated 5 years, 6 months ago by mbrsolution.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 5, 2021 at 2:39 pm #21862
    jesperc
    Participant

    I can’t figure out how to display the logged in username in my header widget.

    January 5, 2021 at 2:40 pm #21863
    jesperc
    Participant

    And I also need to know how to only display the widget if the user is logged in

    January 6, 2021 at 1:55 am #21868
    mbrsolution
    Moderator

    Hi,

    I can’t figure out how to display the logged in username in my header widget.

    Check the following documentation.

    https://simple-membership-plugin.com/adding-member-login-widget-sidebar-site/

    And I also need to know how to only display the widget if the user is logged in

    Are you talking about the login widget? If you are, then our plugin can’t control that feature. You will need a third party plugin to manage the widgets in your site.

    Let me know if the above helps you.

    Thank you

    January 7, 2021 at 11:38 am #21872
    jesperc
    Participant

    im not looking for a way for users to log in more easily, im looking for som way to display their username in a text widget. So it would be something like: ‘Currently logged in as: (username here)’

    And i want the widget mentioned above to be shown only if the visitor is logged in. So maybe I would place the widget area in the header.php with in an ‘if’ statement that makes it only show if the visitor is logged in. And I don’t know where to start since I have very little experience with coding.

    Thanks in advance!

    January 8, 2021 at 3:57 am #21875
    mbrsolution
    Moderator

    Hi, currently we only offer the following options.

    Option 1 = https://simple-membership-plugin.com/adding-mini-login-widget-sidebar-header-footer/

    Option 2 = https://simple-membership-plugin.com/simple-membership-addon-show-member-info/

    Unfortunately as I mentioned above to manage the display of widgets you will need to search for a third party plugin.

    The following php tweaks might also help you.

    https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/
    Let me know if the above helps you.

    Kind regards

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

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy