Tag: get_post_type

  • Add a meta box in the post editor for blocking custom post types

    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…

  • Blocking Custom Post Types

    Note: As of WP-Members 3.0, you can add custom post types to the plugin’s main blocking options. See the options documentation section on Custom Post Types. This is a new method of blocking custom post types. There are two main differences over the method described here and the original method. First, this method is a little…

  • Blocking custom post types

    Note: As of WP-Members 3.0, you can add custom post types to the plugin’s main blocking options. See the options documentation section on Custom Post Types. With explosion of custom post types in WordPress 3.0, the WordPress world has changed somewhat from what it was when WP-Members was first developed.  If you have a theme…