Restrict Categories
Feature Request: Custom Post Type and Taxonomy Support (7 posts)

  1. WebEndev
    Posted 4 years ago #

    Very nice plugin. Only one of its kind out as far as I can tell.

    The only missing feature is the capability to limit categories by custom post type, and/or custom taxonomy.



  2. Naz
    Posted 4 years ago #

    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!

  3. Wesam Alalem
    Posted 3 years ago #

    A plus for this feature.

  4. pimschaaf
    Posted 3 years ago #


    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.

  5. Mamphey
    Posted 3 years ago #

    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.


  6. pimschaaf
    Posted 3 years ago #

    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.

  7. Everaldo Matias
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Restrict Categories
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic