Displaying a user-menu for logged-in users Answered

Post author
Marc Hudson

Hi all. I’ve used the

 data-ms-content="members" 

attribute to display a user-menu for logged-in users. I see in the Docs that it’s described as content “Only visible to all logged-in members”. The menu doesn’t appear for new users without a paid plan. Is this the definition of a Member? If so, is there an attribute for logged-in users regardless of their plan status?

data-ms-content="logged-in"

for example. I’m sure there’s a workaround, perhaps using

data-ms-content="verified"

and

data-ms-content="!verified",

but that doesn’t feel like a proper solution. Thanks

Comments

3 comments

  • Comment author
    Julian Galluzzo

    Hey Marc! The "members/!members" should work purely based off whether or not the person has an account, regardless of the payment status. There might be some other issue here causing this not to work

    0
  • Comment author
    Marc Hudson

    I see. That’s good news. I’ll dig a bit deeper.

    Hmm, I’ve simplified my test and it still won’t display for new members without a paid plan. Would someone mind sanity checking this to make sure it’s just me who’s experiencing this? I just applied the data-ms-content="members" attribute to a new DIV with some static text in it for visibility. Then I signed up/logged in as a new user in Incognito mode (Chrome).

    Thanks

    0
  • Comment author
    Jayess

    Hello Marc 👋

    The data-ms-content=“members” and data-ms-content=“!members” attribute is working for me with or without a plan. 😀

    0

Please sign in to leave a comment.