Crosswinds Blocks — Custom Post Types

  1. Home
  2. Article
  3. Crosswinds Blocks — Custom Post Types

Currently Crosswinds Blocks comes with one custom post type that you can enable or disable. If you’re creating a theme and want a custom post type to be enabled, you can use the following code to do so.

add_filter( crosswinds_blocks_enable_{post-type-slug}_cpt, function(){
    return true;
} );

Post Types

  • Projects
    • Slug: projects
    • Makes it easy for a user to create projects to showcase their amazing work.