Add both “Log In” and “Log Out” pages to the menu.
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?
You add both and they will display accordingly – “Log Out” will only show when logged in and vice-versa.
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.
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.
Can you confirm that the Login page has a custom meta field with a key of _tml_action
and a value of login
?
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.