Support » Plugins and Hacks » Restrict Categories » [Plugin: Restrict Categories] Feature Request: Custom Post Type and Taxonomy Support

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes! I was about to post this when I saw this topic.

    I’ve always loved this plugin and now that custom post types / taxonomies are becoming more and more popular it would be really nice if this plugin also worked for custom post types and/or taxonomies!

    A plus for this feature.

    pimschaaf

    (@pimschaaf)


    +1

    Do note that you can more or less implement category based filtering for media with http://wordpress.org/support/plugin/media-categories-2

    For this I’ve edited my copy of the plugin. In restrict-categories.php:456 I’ve replaced the code with:

    $pages = array( 'edit.php', 'post-new.php', 'post.php', 'admin-ajax.php' );

    adding , 'admin-ajax.php'

    to enable filtering of the query that is done for the media modal through the WP AJAX interface.

    Hi Pimschaaf, are you saying carrying out the above will allow for custom post types and taxonomies restrictions. I really need to restrict some custom taxonomies.

    Thanks

    Negative, this will only filter media (post-type: attachment) based on category as it does for post-type: post, and that only on the pages included $pages.

    Peoples, how add taxonomies of the custom post type in the plugin Restrict Categories?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Restrict Categories] Feature Request: Custom Post Type and Taxonomy Support’ is closed to new replies.