Viewing 1 replies (of 1 total)
  • Plugin Author adispiac

    (@adispiac)

    Hi,
    The simplest way to achieve this is to use the body class “logged-in” to hide the Register and Login pages from your menu via css.

    Simply add this to your theme’s style.css file:

    /* hide the register page when user is logged in */
    .logged-in .nav-menu li.page-item-5 {
            display:none;
    }

    Make sure to replace page-item-5 with your Register page number. The same goes for Login.

    Also keep in mind that if you remove the login page after a user logs in, you’ll need to offer him a way to logout. You should consider having a login widget in the sidebar.

Viewing 1 replies (of 1 total)
  • The topic ‘REDIRECT’ is closed to new replies.