Get if a post is paid or not in template?

Is there a way to show a section or not depending on whether a post is paid? I tried #has visibility=“paid” without luck.

Hey Laran, you could use {{#if access}}.

{{#has visibility="paid"}} should also work. Could you show us the code you’re trying?

Thank you so much! I actually figured it out. It was (not surprisingly) a mistake on my end. The post was set to visibility=member and I was checking for #has visibility=paid. Once I fixed that, it worked just fine.

1 Like