Post Comment – core/post-comment

Post Comment

Use the Post Comment block in your content or an FSE template to display a comment to a post.

Screenshot

Example


Notes

  • The Post Comment block is just one of the blocks associated with Comments and Full Site Editing.
  • It’s not clear where you find the comment ID.
  • I tried entering a comment ID from a comment on another post.
  • It didn’t display anything.
  • When I added the Post Comments Form block I was told two things:
    1. Post Comments Form block: comments are not enabled for this post type.
    2. Post Comments Form block: comments to this post are not allowed.
  • So I enabled Comments on the block and block example post types and allowed comments on this particular post.
  • This enabled me to write the comment which is displayed above.

Unrelated comment

The following comment is not related to this post, I was able to include it by typing the comment ID ( 112 in the original environment ).

  • More optionsDisplay more options
    • Show More SettingsShow the block settings in the sidebar.
    • CopyCopy the block to the clipboard.
    • DuplicateUse Duplicate to create a copy of the block.
    • Insert AfterInsert a new block after the selected block(s).
    • Insert BeforeInsert a new block before the selected block(s).
    • Move To Use Move To to move a block. Up/Down or Left/Right
    • Edit as HTMLEdit the HTML of the block.
    • GroupTransform the selected block(s) into a group.
    • Add to Reusable blocksCreate a Reusable block.
    • Remove blockDelete the block.

Post Comment transforms to:

  • Columns
  • Group