• Resolved nektarbrand

    (@nektarbrand)


    Hi,

    i bought the plugin profile builder and i need your help. After I have logged in, I can not change the word “login” for “logout”.

    Although you are logged in, you still see the login option in the menu, does not the plugin have any option that detects when someone is logged and change automatically?

Viewing 2 replies - 1 through 2 (of 2 total)
  • paulroberts

    (@paulroberts)

    you can use css for this, just make 2 menu items login and logout and hide one.

    body.logged-in #menu-item-0001 {
    display: inline-block;
    }
    body:not(.logged-in) #menu-item-0001 {
    display: none;
    }

    body.logged-in #menu-item-0002 {
    display: none;
    }
    body:not(.logged-in) #menu-item-0002 {
    display: inline-block;
    }

    Plugin Author Georgian Cocora

    (@raster02)

    Hello @paulroberts,

    Very nice solution :).

    @nektarbrand
    I answered your other topic, this seems to be just a duplicate. You also should have the answer on your email.

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login | Logout’ is closed to new replies.