Support » Themes and Templates » Template tag for displaying content only if user is logged in?
9 years ago
Is there a template tag that will allow me to only show content if a user is logged in? I’ve looked and haven’t been able to find one..
Thank you! I’ve also found this thread and I’m wondering if it also works. =/
That code will work in some, but not all, cases. The is_user_logged_in() function always works.
Oh, okay, thank you very very much!