Check if user is a paid member from post.hbs page

Hi,
I’m modifying an existing theme and came across this problem. I want to show a custom button (for a one-time donation) but only if the user isn’t a paid member. Can I check if the logged-in user is a paid member from my post.hbs page?

You can use the {{@member}} helper. Something like this:

{{#if @member}}
  {{#unless @member.paid}}
    <a href="https://donate.com">Make a one-time donation</a>
  {{/unless}}
{{/if}
1 Like

Thank you so much. :slight_smile: