- December 21, 2017 at 5:51 am #2777jhgrove3Participant
- Topics: 1
- Replies: 0
Crossposting from WordPress.org Support Forum
Thanks for making this handy plugin!
I would like to suggest a fairly simple addition that will make it even more flexible: add a Customizable entry where the admin can set 3 fields independently:
1. Whether the menu field should display when the user is Logged In or Logged Out
2. What text should show on the user’s screen
3. What URL the link should go to. Allow this field to be left blank, in which case the link will not be clickable.
You could extend this even further, so that a single field would work for either a logged in user, or a logged out user. In that case you would have 4 fields:
1. What text should show on a Logged-In user’s screen (or blank for not shown)
2. What URL the link should go to for a Logged-In user. Allow this field to be left blank, in which case the link will not be clickable.
3. What text should show on a Logged-Out user’s screen (or blank for not shown)
4. What URL the link should go to for a Logged-out user. Allow this field to be left blank, in which case the link will not be clickable.
Here is a use case:
When a user is NOT logged in, the menu item says “Join / Log In”, but is not clickable.
Submenu item 1 says “Log In” and goes to the login page
Submenu item 2 says “Join” and goes to the register page
When a user IS logged in, the menu item says “My Account” (or maybe “Bob’s Account” via shortcode) but is not clickable
Submenu item 1 says “My Profile” and goes to the profile page
Submenu item 2 says “Log Out” and logs the user out
There could potentially be other submenu items, going to other user-specific pages like a discussion board profile.
I can get much of this functionality with the current plugin, but if I try to remove the [llrmlogin] hyperlink from the main menu item “Join / Log In” then the item loses it’s ability to change state based on whether the user is logged in. So I have to use a generic menu name “Account” that works whether the user is logged in or not.
Thanks for considering this!
- December 21, 2017 at 11:01 am #2780Vinod DalviKeymaster
- Topics: 0
- Replies: 267
Thank you for your valuable feedback.
I will consider this to be added in the future version of plugin.
You must be logged in to reply to this topic.