• I’m trying to create a simple block theme from scratch. I’ve added the post-comments-count to the posts on the index template and I get this error in the editor:
    “Your site doesn’t include support for the “core/post-comments-count” block. You can leave this block intact or remove it entirely.”

    This is my code:

    <!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
    <!-- wp:group {"tagName":"main","layout":{"inherit":true}} -->
    <main class="wp-block-group">
    	<!-- wp:query -->
            <div class="wp-block-query">
            <!-- wp:post-template -->
    	<!-- wp:post-title {"isLink":true} /-->
    	<!-- wp:post-excerpt /-->
     	<!-- wp:post-author {"showAvatar":false} /-->
    	<!-- wp:post-date /-->
    	<!-- wp:post-terms {"term":"category"} /-->
      <!-- wp:post-comments-count /-->
      <!-- /wp:post-template -->
    	<!-- wp:query-pagination -->
    	<div class="wp-block-query-pagination">
    		<!-- wp:query-pagination-previous /-->
    		<!-- wp:query-pagination-next /-->
    	</div>
    	<!-- /wp:query-pagination -->
            </div>
    	<!-- /wp:query -->
    </main>
    <!-- /wp:group -->
    <!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->
    • This topic was modified 3 years, 11 months ago by Roy.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Support for the “core/post-comments-count” block?’ is closed to new replies.