Hide element from from some (multiple) membership groups but not others

I have an “account” link in my nav bar (that houses the profile link) that I only want to show for 2 of my 4 content groups and only when logged in.

I cannot, for the life of me, find the article that shows how to hide/show elements for MULTIPLE content groups.

Can anyone point me to that article?


I have 4 content membership groups: 1, 2, 3, and 4

I want to show a navbar element to JUST groups 1 and 2, but not 3 and 4

Hey Jake :wave:

To do this you would create a new members only content item in your Memberstack dashboard. I am not sure what you want to call it but in this example I will call it “secret” (just add a title and leave the hidden URLs and access denied URL blank). After creating this you would enable it on the 2 membership plans you want to show the button on. Then on the new button you would add the data-ms-content=“secret” attribute. For more info here is an article and another. I hope this helps get you on the right path :grinning:

1 Like