Building Block Theme Templates and Template Parts with Full Site Editing
Block theme templates for a custom post type In a classic theme, a portfolio post type gets single-portfolio.php with its own header and sidebar. A block theme follows the same template hierarchy, but the templates are HTML files with block markup, and the reusable pieces are template parts. Once the files are in the right…