Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ultimate Member

    (@ultimatemember)

    Use the condition:

    if ( is_user_logged_in() ) { // member only

    }

    Thread Starter jonnixon

    (@jonnixon)

    Thanks for the quick response. That’s not quite what I’m after. I want both members and non-members alike to see whether a page (link) is a members-only page. So regardless of whether you’re logged in or not, you can still see a difference between “normal” pages and “members-only” pages.

    Thread Starter jonnixon

    (@jonnixon)

    Any update on this?

    Plugin Author Ultimate Member

    (@ultimatemember)

    Answered you on our forum now ??
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add Class if is members page’ is closed to new replies.