Show message to non-member instead of empty excerpt

I’d like to show a message to non-members who can’t see the excerpt of member-only posts. Right now, the excerpt is simply empty: The Uplink Blog (top left post “Member News July 2021”)

I found the location where the excerpt is printed: Casper/post-card.hbs at v4.0.5 · TryGhost/Casper · GitHub
How can I determine whether the post is member-only and the user is not a member?

Ghost version: 4.9.0
Theme: Casper 4.0.5

Asked a different way: is it possible to set the except of member-posts to a static text?

I think what you are looking for is the access property, which determines true/false comparing the member access level and post access setting.

Here is the documentation.

2 Likes

That worked, thanks a lot, @bironthemes! :slight_smile:

1 Like