# How to restrict an entire custom post type on Wordpress?

**URL:** <https://www.patreondevelopers.com/t/how-to-restrict-an-entire-custom-post-type-on-wordpress/6882>\
**Category:** Wordpress Plugin\
**Created:** [January 14, 2023, 2:08pm UTC](https://www.patreondevelopers.com/t/how-to-restrict-an-entire-custom-post-type-on-wordpress/6882 "2023-01-14T14:08:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyrian](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/kyrian/32/2212_2.png) [@Kyrian](https://www.patreondevelopers.com/u/Kyrian)\
**Post date:** [January 14, 2023, 2:08pm UTC](https://www.patreondevelopers.com/t/how-to-restrict-an-entire-custom-post-type-on-wordpress/6882/1 "2023-01-14T14:08:48Z")

</div>

Hello,  
I want to give access to an entire Wordpress custom post type (several categories and posts) to my Patreons subscribers.  
From what I understand, the Patreon Wordpress plugin only allow to restrict single posts, not entire custom post types.

But I see that there is an integration with the Paid Membership PRO plugin, which instead allows restricting entire custom post types.

What I don’t understand is how the 2 integrate. **For instance, if I create a Paid Membership PRO tier to restrict access to an entire custom post type section in Wordpress, will my Patreon subscribers be able to access that section automatically?**

I hope I was able to explain this issue, can someone give me some more input about it?

I already read through this post [Patreon WordPress is now compatible with Paid Memberships Pro](https://www.patreondevelopers.com/t/patreon-wordpress-is-now-compatible-with-paid-memberships-pro/2823)  
but could’n find a clear answer.

Thanks!

---

<div class="post-metadata">

**Author:** ![Kyrian](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/kyrian/32/2212_2.png) [@Kyrian](https://www.patreondevelopers.com/u/Kyrian)\
**Post date:** [January 14, 2023, 2:27pm UTC](https://www.patreondevelopers.com/t/how-to-restrict-an-entire-custom-post-type-on-wordpress/6882/2 "2023-01-14T14:27:09Z")

</div>

I guess one solution would be to use this more advanced plugin instead

> **[How to lock entire posts, categories, tags from any post type - CodeBard](https://codebard.com/patron-plugin-pro-documentation/how-to-lock-entire-posts-from-any-post-type)**
>
> You can lock entire post types, custom post types, any category, tag, multiple categories and/or tags, any custom taxonomy and custom term with Patron Pro. First, visit the "Content Locking" tab of your plugin settings in WordPress admin, and click...

I just found it and it has an option to lock entire custom post types

---

<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:** [January 16, 2023, 6:53pm UTC](https://www.patreondevelopers.com/t/how-to-restrict-an-entire-custom-post-type-on-wordpress/6882/3 "2023-01-16T18:53:59Z")

</div>

Yes, Patron Pro allows you to lock entire post types including custom post types, categories, tags, and custom taxonomies in one go.

---

<div class="post-metadata">

**Author:** ![Kyrian](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/kyrian/32/2212_2.png) [@Kyrian](https://www.patreondevelopers.com/u/Kyrian)\
**Post date:** [January 17, 2023, 8:31am UTC](https://www.patreondevelopers.com/t/how-to-restrict-an-entire-custom-post-type-on-wordpress/6882/4 "2023-01-17T08:31:42Z")

</div>

That’s great. Can I also restrict a custom post type category along with all its child categories?  
I have also sent you a more detailed question from your website, I think could probably need some paid customization for my needs…

---

<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:** [January 17, 2023, 4:48pm UTC](https://www.patreondevelopers.com/t/how-to-restrict-an-entire-custom-post-type-on-wordpress/6882/5 "2023-01-17T16:48:56Z")

</div>

When you restrict the top category, all its children should be restricted too.
