Title: Doesn&#8217;t work with custom posts
Last modified: September 10, 2018

---

# Doesn’t work with custom posts

 *  Resolved [jeremynative](https://wordpress.org/support/users/jeremynative/)
 * (@jeremynative)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-custom-posts-2/)
 * Hi, I am trying to make the plugin work with portfolio pages that are set as 
   custom posts. The plugin will not restrict the content – I think there is a conflict
   between password protected pages, or that the posts have images that won’t be
   restricted.
 * The page conflict is here; [http://jeremynative.com/](http://jeremynative.com/)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-work-with-custom-posts-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * (@raster02)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-custom-posts-2/#post-10676144)
 * Hello [@jeremynative](https://wordpress.org/support/users/jeremynative/),
 * The `message` type of restriction works by modifying the output that is passed
   through the `the_content` wordpress filter. So depending on how your view is 
   generated, if this filter is not used, that type of restriction won’t help you.
 * The Redirect option should work, but you can also create a custom template in
   your theme and use that for Content Restriction. This should restrict any type
   of content.
 * Please also take note that on your homepage you have a custom query which lists
   those posts. If you restrict the individual post, they won’t be removed from 
   your query so they will show on the homepage. If you need to do this, there are
   examples in our DKB: [https://www.cozmoslabs.com/docs/paid-member-subscriptions/developer-knowledge-base/](https://www.cozmoslabs.com/docs/paid-member-subscriptions/developer-knowledge-base/)
 * Regards.
 * Regards.

Viewing 1 replies (of 1 total)

The topic ‘Doesn’t work with custom posts’ is closed to new replies.

 * ![](https://ps.w.org/paid-member-subscriptions/assets/icon-256x256.png?rev=2961161)
 * [Paid Membership Subscriptions - Effortless Memberships, Recurring Payments & Content Restriction](https://wordpress.org/plugins/paid-member-subscriptions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-member-subscriptions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-member-subscriptions/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-member-subscriptions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-member-subscriptions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-member-subscriptions/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-custom-posts-2/#post-10676144)
 * Status: resolved