Inspiration For Creative Minds
Home » Labs » 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.

It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook

Posts you may like: