Home » Labs » WordPress Login / Logout code  

WordPress Login / Logout code

Filed under Labs

To show a login / logout link on your WordPress site simply put below snippet to your theme. If a user is logged in then below code will prompt logout link and vice versa.


Posts you may like: