[loginout-link]
The [loginout-link]
shortcode is meant to give users an easy way to display a log in/out link on their site. Typically, you should use the shortcode in the “footer settings” box on the theme settings page.
Parameters
This shortcode has no parameters.
Return values
This shortcode returns a login link if the user is currently logged out.
<a class="login-link" href="http://yoursite.com/login-url" title="Log in">Log in</a>
Or a logout link if the user is currently logged in.
<a class="logout-link" href="http://yoursite.com/logout-url" title="Log out">Log out</a>
Usage
To use the shortcode, add the following line of code in a shortcode-ready area:
[loginout-link]