- This topic has 4 replies, 2 voices, and was last updated 5 years, 6 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › I want to display logged in username in widget
Tagged: Widget
I can’t figure out how to display the logged in username in my header widget.
And I also need to know how to only display the widget if the user is logged in
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
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!
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