Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Add both “Log In” and “Log Out” pages to the menu.

    Thread Starter jpizzolato

    (@jpizzolato)

    Thanks for responding Jeff, but I don’t want both a Log In and a Log Off entry to be on the Menu. What happen to the functionality that changed the “Log In” text to “Log Off” text after logging in?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    You add both and they will display accordingly – “Log Out” will only show when logged in and vice-versa.

    Thread Starter jpizzolato

    (@jpizzolato)

    Thanks for the information Jeff but it is not working that way. The Log Out entry on the menu is not appearing until I login, so that is working the way you say it should, however, the Log In entry stays on the menu even after logging in,

    I have two pages defined…. Log In with a url page name being /login and I have a Log Out page with the url page being /logout. Both are defined on the menu.

    I also tried changing the url of the log in page to /login2 and /log-in, all giving the same result. And that is the Log In entry on the menu does not disappear after logging in, but the Log Out entry is only displayed when the person is not logged in.

    Thread Starter jpizzolato

    (@jpizzolato)

    See previous post.

    Correction on the last line. it should read “The Log In entry on the menu does NOT disappear after logging in, but the Log Out entry is only displayed when the person is logged in

    So there seems to be a problem with only the Log In entry on the menu.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Can you confirm that the Login page has a custom meta field with a key of _tml_action and a value of login?

    Thread Starter jpizzolato

    (@jpizzolato)

    Sorry Jeff, I didn’t know you replied.

    I had to add two custom meta fields..

    custom meta field 1… on the login page I added…
    _tml_action with a value of login

    custom meta field 2…. on the logout page I added…
    _tml_action with a value of logout

    It is working the way it should now… when you are not logged in, “Log In” only appears on the menu. When you are logged in “Log Out” only appears on the menu.

    Thank you for your help, I appreciate it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change the "Login" Display on Menu to read "Logout"’ is closed to new replies.