How to create a perfect login / logout pages and title ?
I can’t found any document to figure out how to setup all correct flow chart.
The situation is like above:
1. the title menu only can show login/logout, it can’t recognize user not login (shows login) and user already login( shows logout)
2. After user login, when user wanna logout, they click the same link (login/logout), it alwyas jump to homepage! nothing can shows!
so my user never seen the logout page or logout !
does someone can help me?
You will need to use a navigation plugin that allows different menu items for logged in or guest users. its out of PR scope to provide navigation enhancement functionality. However, in order to make a logout link you can append the following querystring to any of your wordpress url for example:
Thanks for your reply, when I trying to use
the page is like refresh and nothing happen. it still on login status
Please make sure all the url and variable are in small caps. also try to append redirect_to variable with the url you wish your users to redirect on after logout so your complete url will look like the following.
if you are running WordPress in the root of your domain:
if you are running inside a subfolder:
You must be logged in to reply to this topic.