How to Show Social Logged-in Users a Logout Option

Once users log-in using the social login option they have a WP record created for them with their name and email. It is possible therefor to show the name of the user using WordPress default functions in the CM Answers theme.

It is also possible to show the user a logout link:

if ( is_user_logged_in() ) {
echo ‘Logout’;
}

Posted in: answers