Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.