• Resolved jeremynative

    (@jeremynative)


    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/

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Georgian Cocora

    (@raster02)

    Hello @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/

    Regards.

    Regards.

Viewing 1 replies (of 1 total)

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