•
•
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.
<?php
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.
Tags: