To check a user is login to WordPress
is_user_logged_in() function can be used.
This function may also be used to add Login/Logout Button.
Want a Theme or Plugin developed or Bloging website or a Personal website?
Please connect here.Get Quote
I am Web Consultant & WordPress Enthusiast. I have years of experience working with Open Source Technologies. Feel free to post your comment and share posts it might just be worth it. :)