WordPress.org

Forums

Template tag for displaying content only if user is logged in? (5 posts)

  1. tenkabuto
    Member
    Posted 7 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..

  2. tenkabuto
    Member
    Posted 7 years ago #

    Thank you! I've also found this thread and I'm wondering if it also works. =/

  3. That code will work in some, but not all, cases. The is_user_logged_in() function always works.

  4. tenkabuto
    Member
    Posted 7 years ago #

    Oh, okay, thank you very very much!

Topic Closed

This topic has been closed to new replies.

About this Topic