“$patreon_gate = Patreon_Frontend::gate_custom_content( $patreon_custom_gate_level )” hide my blog title

Hello and thank you for your plugin!

I use this code (Dropbox) to hide an iframe from people who are not my patron.
As a result, the other elements of my page are also hidden, such as the title, excerpt, custom field, etc.

Is there a way to create exceptions for displaying these elements to the person who are not subscribe to my Patreon ?

Thank you in advance

1 Like

Yes, just introduce conditions based on user’s id into the if logic there. Ie, if the person does not fill the pledge requirement AND the user id is not in the allowed list, show the gated content.

It was so obvious that I didn’t think of it, thank you :slight_smile:

1 Like