Gated content determined by member label?

I would like to create some content (a web page, rather than a post, but I’m flexible with whatever works) that is only available to paying members who have a certain label.

So it’s available to some paid members, but not others.

Is that possible?

This is a situation I may face a fair bit in the future—running promos for membership with e.g. video masterclass offers—so I can’t really use up new tiers for it. They’d proliferate too quickly.

So, gated content by Member label: is it possible by adding to/editing my Theme (which is Brief, from BrightThemes)?

Thanks for any advice or pointers.

:folded_hands:t2::heart_decoration:

You’ll need to edit the theme.

Duplicate the existing page.hbs (or post.hbs if the theme doesn’t have a page.hbs. Wrap the {{content}} in some logic that checks if the user has your label.

1 Like

There is a page.hbs file in there, yes. It doesn’t have much in there at the moment:

So I would duplicate that file and… call it something else? And it would appear as an option for a new template or something? How would I select it, in use, when building the page?

Yes. See the docs on custom templates. Needs to start with custom-