# Testing for a member label in themes

**URL:** <https://forum.ghost.org/t/testing-for-a-member-label-in-themes/13383>\
**Category:** Memberships & subscriptions\
**Created:** [April 10, 2020, 3:52am UTC](https://forum.ghost.org/t/testing-for-a-member-label-in-themes/13383 "2020-04-10T03:52:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomCrocker56](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/tomcrocker56/32/7263_2.png) [@TomCrocker56](https://forum.ghost.org/u/TomCrocker56)\
**Post date:** [April 10, 2020, 3:52am UTC](https://forum.ghost.org/t/testing-for-a-member-label-in-themes/13383/1 "2020-04-10T03:52:44Z")

</div>

I would find it incredibly helpful to be able to limit content visibility simply based on the presence or absence of a label. I know the wholes membership thing is in beta, but anything that would make the labels a member attribute in themes would provide a way to effectively have more than one thing to be subscribed to.

---

<div class="post-metadata">

**Author:** ![brooklet](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/brooklet/32/6348_2.png) [@brooklet](https://forum.ghost.org/u/brooklet)\
**Post date:** [April 24, 2020, 2:45pm UTC](https://forum.ghost.org/t/testing-for-a-member-label-in-themes/13383/2 "2020-04-24T14:45:09Z")

</div>

I’d like this as well, at least until multiple membership tiers are added.

I’m migrating over from Patreon, or trying to, where my patrons have varying levels of access. As I can’t yet move them here without losing the tiers, it would be nice to use a combination of complimentary memberships and labels to give them access to different levels of content meanwhile.

---

<div class="post-metadata">

**Author:** ![badrihippo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/badrihippo/32/3213_2.png) [@badrihippo](https://forum.ghost.org/u/badrihippo)\
**Post date:** [June 12, 2020, 5:41pm UTC](https://forum.ghost.org/t/testing-for-a-member-label-in-themes/13383/3 "2020-06-12T17:41:08Z")

</div>

It’s a bit complicated, but there’s a discussion for it over at [this thread](https://forum.ghost.org/t/membership-tiers/9665/18). Note that it’ll only work for self-hosted versions!

> [@Membership tiers?](https://forum.ghost.org/t/membership-tiers/9665/18):
>
> I’m interested in this as well. In particular: IIRC Stripe has its own form capabilities. If Ghost automatically ingests subscription data for a member’s email address from Stripe, can we bypass Ghost’s easier Stripe helpers in favor of Stripe-native forms? I understand we can get back an array of subscriptions, but I don’t know enough about Handlebars to know if this is enough to let us gate content. Say for instance we have three plans–tier1, tier2, and tier3. I’d want to do something like (…

---

<div class="post-metadata">

**Author:** ![Brian\_Maggi](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/brian_maggi/32/11212_2.png) [@Brian\_Maggi](https://forum.ghost.org/u/Brian_Maggi)\
**Post date:** [January 14, 2021, 5:05pm UTC](https://forum.ghost.org/t/testing-for-a-member-label-in-themes/13383/4 "2021-01-14T17:05:29Z")

</div>

I’d like something similar to this that’s topic-based vs. paid and unpaid.

Is there a way to map Member labels to post Tags? For example, I might have a subset of Members (paid and free) labeled “design”. In a post I might create a private tag called #design. The objective would be for only those members with the matching label and private Tag would get the newsletter and see the post.

I’m sure this could be done in a theme and manually. But I’m trying to do something that can be relatively automated.

It’s similar to audience tags and segmentation in MailChimp.

---

<div class="post-metadata">

**Author:** ![mattcam](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mattcam/32/5890_2.png) [@mattcam](https://forum.ghost.org/u/mattcam)\
**Post date:** [January 27, 2021, 1:45pm UTC](https://forum.ghost.org/t/testing-for-a-member-label-in-themes/13383/5 "2021-01-27T13:45:52Z")

</div>

Needed to do something very similar, so setup a Cloudflare worker to handle request. More info can be found here [GitHub - influencerTips/cf-ghost-admin-api: Used to expose functionality in Ghost Admin API](https://github.com/influencerTips/cf-ghost-admin-api) - in summary worker exposes admin api for member where `member.uuid` is used for query and response contains payload from ghost admin api that can be used with jquery.
