Post Comments Form Block

Go back to the list of Blocks

The Post Comments Form block displays a post’s comments form. This block is located inside a Comments block and lets you customize the appearance of the post comments form.

Post Comments Form block

You can only insert the Post Comments Form block inside a Comment Template block within the Comment block. 

Click the (+) icon inside the comment template block to open the block inserter pop-up window and search for the Post Comments Form block.

You can also use the keyboard shortcut /post-comments-form to quickly insert a Post Comments Form block inside a Comment Template block.

Adding a Post Comments Form block

If your post has comments disabled, you can still add the Post Comments Form and enable the comments again while adding the block:

Enabling comments from within the Post Comments Form block

Detailed instructions on adding blocks can be found here.

Block toolbar

Block toolbar in the Post Comments Form block

The block toolbar contains the tools to customize each block. The Post Comments Form block’s toolbar consists of the following tools:

Transform to

You can transform a Post Comments Form block into a Columns, or a Group block. 

Transform to in the Post Comments Form block

Block-moving tools

Block moving tools in the Post Comments Form block

Use the block-moving tools to move the block up and down inside the editor. Use the six dots icon to drag and drop the Post Comments Form block and reposition it anywhere on the editor. Alternatively, click on the up and down arrows to move the block up or down the editor.

Change text alignment

Change text alignment in the Post Comments Form block

Text alignment options let you align the Edit button towards the left, center, or right.

More options

 

Click on the three dots icon to show more block options. A drop-down menu with these actions will appear:

More options in the Post Comments Form block
  • Show/Hide more settings opens or closes the block settings panel on the editor’s sidebar. Its functionality is similar to clicking the cog icon next to the Publish button.
  • Copy block adds the Post Comments Form block into the clipboard. Then, you can paste it anywhere you want in the block editor.
  • Duplicate creates a copy of the selected block that appears after the current block.
  • Insert before adds a new block before the selected block(s).
  • Insert after adds a new block after the selected block(s).
  • Move to lets you use a blue line on the editor to indicate the new position for the selected block. Use your keyboard’s up and down arrows to move the blue line. When the line is in the desired position, press Enter to move the selected block to that position.
  • Lock lets you prevent users from moving or deleting the selected block. A pop-up window will appear to set the block locking attribute to the selected block. You can opt to disable movement, prevent removal, or both for the selected block.
  • Create Reusable blocks makes the selected block a reusable block. A pop-up window will appear to set the name for the block.
  • Group turns the selected block(s) into a group of blocks so you can configure them as a unit.
  • Remove Post Comments Form deletes the selected block from the content.

Block settings

The block settings panel contains customization options specific to the block. To open it, select the block and click the cog icon next to the Publish or Update button.

Enabling block settings

Here are the options for the Post Comments Form block:

Color

The Post Comments Form block provides Color settings options to change the text, background, and link colors.

For details refer to this support article: Color settings overview

Typography

The Post Comments Form block provides typography settings to change the font family, appearance, line height, letter spacing, decoration, letter case, and font size.

For details refer to this support article: Typography settings overview

Advanced

The Advanced tab lets you add CSS class(es) to your block. This will allow you to write custom CSS and styles to the block.

Advanced settings in the Post Comments Form block

Changelog

  • Created 2022-11-22

Was this article helpful? How could it be improved?

First published

Last updated