-
Author
-
October 14, 2017 at 07:43 #176596rlarson87Participant
Hello, I have the Kleo theme. When I click the login button on the menu and login, the login button still appears. The login button should change to “my account”. How do I fix this?
October 14, 2017 at 16:21 #176626Kieran_SQModeratorHi @rlarson87,
Thanks for reaching out to us today about conditional menu items. It looks like you’re using a custom login page rather than using the KLEO modal. If you wish to use this format then you’ll need to use a conditional menu items plugin to show or hide items based on the users logged in / logged out status. I recommend using Menu Items Visibility Control which can be found here https://wordpress.org/plugins/menu-items-visibility-control/.
Once this plugin is installed you can go to WP Admin > Appearance > Menu > Select: Desired menu and then open the menu item for ‘Login’, once this is open you will see a new field (see attached screenshot) titled ‘visibility’. Enter the below within this field
!is_user_logged_in()
Save your menu, your menu item will now only show if the user is logged out.
Hope this helps,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files.October 14, 2017 at 23:27 #176669rlarson87ParticipantHello, thanks for this response. I did not know I was using a custom login page. I want to use the default Kleo login page. Can you give me instructions on where to get that page and how to load it? I don’t know why it didn’t load with the other theme pages…
October 14, 2017 at 23:34 #176671Kieran_SQModeratorHi,
The KLEO login modal is a small window that opens on any page, it is not a page in itself.
You can enable this by going to Appearance > Menus > Select: Desired menu. On the left hand side select the KLEO dropdown and add the ‘Login’ menu item to your menu.
If you do not see the KLEO dropdown you can enable it by going to Appearance > Menus and selecting ‘Screen Options’ in the top right, check the KLEO box, the drop will now appear to the left of the main menu area.
You will need to delete the login menu item you currently have.
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files.October 14, 2017 at 23:36 #176674Kieran_SQModeratorYou can also use the logout and register menu items from the KLEO dropdown. These items are automatically conditional so will appear and disappear depending on the users logged in / logged out status.
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
October 14, 2017 at 23:42 #176676rlarson87ParticipantThanks I was able to fix the login menu now. But now when I login, there is no top menu with “My Account” or “Logout”. See screenshot.
Do I need to create another top menu for when a user is logged in? How do I associate it with when a member is logged in?
Attachments:
You must be logged in to view attached files.October 14, 2017 at 23:47 #176680rlarson87ParticipantThanks. Is it possible to edit the menu names for “Live Messages” and “Live Notifications”?
October 14, 2017 at 23:48 #176681Kieran_SQModeratorHi,
I just logged into your site and it looks fine to me, can you clear your website cache and local cache (Ctrl+F5) and let me know if that works
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files.October 14, 2017 at 23:49 #176685rlarson87ParticipantThanks. Yes, I saw your second response after I sent that last question. The menu items are working now. But is it possible to edit the Kleo menu names. I would like to change “Live Messages” and “Live Notifications” to something else…
October 14, 2017 at 23:49 #176686Kieran_SQModeratorSure, just go to Appearance > Menus > Select: Desired menu > Open: Desired menu item and change the name (see screenshot)
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files.October 14, 2017 at 23:52 #176689rlarson87ParticipantThanks. Last question…Is it possible to add user’s first name next to the avatar in the menu for “My Account”? So it would should the avatar circle and then their first name…
October 15, 2017 at 00:00 #176692Kieran_SQModeratorHi,
To do that you will need to go into the desired menu, select screen options in the top right and check the ‘Title Attribute’ option. Once enabled, open up the My Account menu item and add the below to the field titled ‘Title Attribute’.
##member_name##
This will render the user’s name after the image, you can use in conjunction with other text, for example
##member_name##'s profile
Hope this helps,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files. -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.