Users who configure to block custom post types will notice that you don’t get the meta box that WP-Members shows for blocking (or unblocking) posts and pages. While you can still use custom fields directly for custom post blocking/unblocking at the individual post level, it’s nice to have the meta box. So I’ve put together a code snippet for you to use to implement this on your custom post type editors.
You are here: / / Add a meta box in the post editor for blocking custom post types
About Chad Butler
Chad Butler is both a freelance writer and web developer. He has developed several popular WordPress plugins, including WP-Members and his writing has appeared on forbes.com, sfomag.com, and investopedia.com.