You can add the shortcode [login_link] anywhere on your site. It will automatically display a Login or Logout link depending on the user’s authentication status.
Available Attributes
login_text– The text shown when the user is not logged inlogout_text– The text shown when the user is logged in
Example
[login_link login_text="Sign in" logout_text="Sign out"]In this example, visitors who are not logged in will see “Sign in”, while logged-in users will see “Sign out”.