X

Login / Logout links in WordPress

If you want to use login and logout links in your theme then the following code will be helpful. Copy and paste the code in your theme.

<?php
          wp_loginout();
?>