[user_login]

Displays current user login (i.e., username). If user is not logged, nothing is displayed.

Examples

Example

[user_login on_empty="You are not logged, please <a href='/wp-login.php'>login</a>." before="Logged as " after="."]

Output

You are not logged, please login.
No comments yet.

Leave a Reply