Edit file File name : template-single-portfolio.php Content :<?php /** * Title: Portfolio single post template * Slug: twentytwentyfour/template-single-portfolio * Template Types: posts, single * Viewport width: 1400 * Inserter: no */ ?> <!-- wp:template-part {"slug":"header","area":"header","tagName":"header"} /--> <!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} --> <main class="wp-block-group alignfull"> <!-- wp:spacer {"height":"var:preset|spacing|40"} --> <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"> </div> <!-- /wp:spacer --> <!-- wp:post-featured-image {"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}}} /--> <!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} --> <div class="wp-block-group alignwide"> <!-- wp:template-part {"slug":"post-meta"} /--> </div> <!-- /wp:group --> <!-- wp:spacer {"height":"var:preset|spacing|40"} --> <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"> </div> <!-- /wp:spacer --> </main> <!-- /wp:group --> <!-- wp:template-part {"slug":"footer","area":"footer","tagName":"footer"} /--> Save