Ever need to show a WordPress widget only to logged in users? Or maybe you have the opposite need: you want to show a widget only to users who are NOT logged in.
In this post, we’ll go over how to do both.
Using Widget Logic
Widget Logic is a very popular plugin that will help us accomplish our goal. While Widget Logic can help you do much more than hide or show a widget to logged in/logged out users, we’re going to focus this post on that particular task.