• This plugin works well, but doesn’t support custom post types. However, it’s quite easy to add that support by replacing this code in require-post-category.php:

    if($post_type=='post'){

    With this code:
    if($post_type=='your_custom_post_type'){

    You could also get a little advanced and add another check against more than one post type (posts, pages, custom post types, etc).

    Just an FYI for anyone looking for this functionality!

    http://ww.wp.xz.cn/extend/plugins/require-post-category/

The topic ‘Custom Post Types’ is closed to new replies.