Require Post Category
Custom Post Types (1 post)

  1. Eckstein
    Posted 2 years ago #

    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:


    With this code:

    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!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Require Post Category
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Eckstein
  • This topic is not a support question
  • WordPress version: 3.5