# “$patreon\_gate = Patreon\_Frontend::gate\_custom\_content( $patreon\_custom\_gate\_level )” hide my blog title

**URL:** https://www.patreondevelopers.com/t/patreon-gate-patreon-frontend-gate-custom-content-patreon-custom-gate-level-hide-my-blog-title/8723
**Category:** Uncategorized
**Created:** [March 31, 2024, 11:01pm UTC](https://www.patreondevelopers.com/t/patreon-gate-patreon-frontend-gate-custom-content-patreon-custom-gate-level-hide-my-blog-title/8723 "2024-03-31T23:01:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Haleec](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@Haleec](https://www.patreondevelopers.com/u/Haleec)
#### Post date: [March 31, 2024, 11:01pm UTC](https://www.patreondevelopers.com/t/patreon-gate-patreon-frontend-gate-custom-content-patreon-custom-gate-level-hide-my-blog-title/8723/1 "2024-03-31T23:01:56Z")

</div>

Hello and thank you for your plugin!

I use this code ([Dropbox](https://www.dropbox.com/scl/fi/9spl5hqv6d55gb3vxbyru/Patreon-WordPress-how-to-lock-any-part-of-your-Website.paper?rlkey=zr3qdxi5g5sp83c6kbrqc92bt&dl=0)) 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

---

<div class="post-metadata">

### Author: ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)
#### Post date: [April 1, 2024, 9:27pm UTC](https://www.patreondevelopers.com/t/patreon-gate-patreon-frontend-gate-custom-content-patreon-custom-gate-level-hide-my-blog-title/8723/2 "2024-04-01T21:27:44Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Haleec](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@Haleec](https://www.patreondevelopers.com/u/Haleec)
#### Post date: [April 4, 2024, 7:08pm UTC](https://www.patreondevelopers.com/t/patreon-gate-patreon-frontend-gate-custom-content-patreon-custom-gate-level-hide-my-blog-title/8723/3 "2024-04-04T19:08:02Z")

</div>

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