WordPress tutorials: Login / Logout

Wpsnipp – Especially in the case of a multi-author blog, it can be really useful to include a logout link on your theme. In this recipe, I’ll show you how to do this easily. Only suitable for WordPress 2.7.Adding this PHP code to your wordpress theme will provide users with the login and logout links.

 

 

<?php
wp_loginout();
?>

 

Leave a comment