WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. WebEndev
    Member
    Posted 2 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.

    Thanks!

    http://wordpress.org/extend/plugins/restrict-categories/

  2. Naz
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    A plus for this feature.

  4. pimschaaf
    Member
    Posted 1 year ago #

    +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.

  5. Mamphey
    Member
    Posted 1 year 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.

    Thanks

  6. pimschaaf
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic