Support » Plugin: Content Control - User Access Restriction Plugin » Custom Post Types & Taxonomies

  • Resolved madpipe

    (@madpipe)


    This plugin would be perfection if it supported custom post types and taxonomies, not just the out of the box wordpress ones. The design is perfect. The interface is ideal. This is the one!

    The only other thing I wish it had is information on whether it restricts feed access, not just page view access. If it did, that’s 99.9% of what it needs to do.

    Any way to get custom post types and taxonomies added and get that answer? Please?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author danieliser

    (@danieliser)

    @madpipe – Sorry just saw your email which sent me here.

    Their is already built in support for all public post types & taxonomies including custom ones.

    https://github.com/JunglePlugins/Content-Control/blob/master/classes/Conditions.php#L169

    I’ve not done much with the feeds, but I’m sure if we can hook in the right places and write some is_feed style conditions it could be done easily.

    • This reply was modified 10 months, 2 weeks ago by  danieliser.
    • This reply was modified 10 months, 2 weeks ago by  danieliser.

    First, thanks for the awesome free plugin!

    Im unclear on how to block a custom post type? (acadp_listings) Would I add a tweaked version of some of the above code to my functions.php? Can you point me in the right direction?

    Thanks!

    I was just about giving a 4-star-rating to the plugin, because I also find this plugin bein almost perfect, except for the ability to restrict access to custom-post-types.

    @danielizer I have tried to understand how to restrict any custom-type-post from your above reply, but simply don’t get it. Any chance to help us further?

    • This reply was modified 6 months, 2 weeks ago by  wunderpress.

    @danieliser – I really like the light-weight approach of this plugin, and the fact that I do not have to set access rights on every single item in my site. However, for me it is a showstopper that there is no easy way to add support for CPTs or custom taxonomies from the backend. Ultimate Member is very good at this, you just have to tick a box in the backend to add support for a CPT or custom taxonomy. For people who are not skilled in PHP it is completely unclear how to fix this. Would you be able to help out?

    • This reply was modified 5 months, 1 week ago by  renevlak.
    Plugin Author danieliser

    (@danieliser)

    @renevlak – hmm, its already built in. The only thing I can think of is that its checking for custom post types before yours are registered, though not sure how that would happen.

    Will try and test it shortly.

    Hi @danieliser Thanks for following up. The problem is occuring with CPTs that I created myself prior to installing your plugin, and CPTs that I created after installing your plugin. It also occurs with the CPTs generated by the ‘Ultimate FAQs’ plugin (https://wordpress.org/plugins/ultimate-faqs/) and the ‘WP Download Manager’ plugin (https://www.wpdownloadmanager.com/). Hope this info helps!

    Hi @danieliser

    it would be lovely if you could also test with the excellent “Pods” plugin

    Thank you and kind regards,
    Sascha

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.