This topic has 11 replies, 2 voices, and was last updated 7 years by Kieran_SQ.

  • Author
  • #176596
     rlarson87
    Participant

    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?

    http://www.irside.com

    #176626
     Kieran_SQ
    Moderator

    Hi @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 solution

    If 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.
    #176669
     rlarson87
    Participant

    Hello, 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…

    #176671
     Kieran_SQ
    Moderator

    Hi,

    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 solution

    If 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.
    #176674
     Kieran_SQ
    Moderator

    You 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 solution

    If 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.

    #176676
     rlarson87
    Participant

    Thanks 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.
    #176680
     rlarson87
    Participant

    Thanks. Is it possible to edit the menu names for “Live Messages” and “Live Notifications”?

    #176681
     Kieran_SQ
    Moderator

    Hi,

    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 solution

    If 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.
    #176685
     rlarson87
    Participant

    Thanks. 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…

    #176686
     Kieran_SQ
    Moderator

    Sure, 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 solution

    If 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.
    #176689
     rlarson87
    Participant

    Thanks. 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…

    #176692
     Kieran_SQ
    Moderator

    Hi,

    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 solution

    If 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.
Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?