Paywall limiter for paid Tier 1 vs Tier 2?

I have a scenario where I have a written version of a post, that’s available to paid (Tier 1) Members.

But then I also have an audio-narrated version of the post, that I’d like to be available to Premium (Tier 2) Members.

Is there any clever way to do that within one Post? Because if I put the Paywall limiter at the end of the written content, but above the Audio version at the bottom, setting the Access to “Tier 2 only” … then the Public can read the entire post.

But I only want Tier 1 Members to have access to it.

How would you solve for this one?

There’s nothing baked into Ghost. However, if you’re comfortable editing the theme, you could edit post.hbs to include something like this (note - needs to be within the existing {{#post}}..{{/post}}:

{{#get "posts" limit=1 filter="slug:{{slug}}-audio"}}
{{#foreach posts}}
{{#if access}}
{{content}}
{{else}}
You need to be a member of tier 1 to use the audio
{{/if}}
{{/foreach}}
{{/get}}

So then you’d make your regular post (minus audio) with the slug my-post-slug and access set to everyone who can have access (tiers 1&2), and then make an additional post that just contains the audio narration, with access set to tier 2 only.

Thank you (I think?)

Realistically a bit beyond me in these early days – wouldn’t that still leave me with two posts on the website?

Ah - so you don’t have to have all your posts appear on the front page or anything. :slight_smile:

1 Like

Ooh. Is that another code snippet, or is there an option I’ve missed somewhere for keeping posts private?

Not private, but have a look at the docs for routes.yaml.

Unless you’re using Source, in which case you’d need theme edits.

I’m using Brief, from Bright Themes. Excuse my crashing ignorance for a moment and please tell me where I would view the docs for routes.yaml? :folded_hands:t2::heart_decoration:

https://docs.ghost.org/themes/routing#urls-and-dynamic-routing

1 Like

Thanks Cathy. I look forward to learning more as I go along. Right now I’m working on getting a functioning website and switching over to sending out my newsletter from Ghost, but I can see it’s going to be fun learning some more complex stuff a bit further down the line.

The tutorials look like a good starting place!