The Comment Date Block displays the date on which a comment was posted. This block is located inside a Comment Query Loop block and allows users to edit the appearance of the comment date.
You can only insert the Comment Date Block inside a Comment Template block within the Comment Query Loop block.
Click the (+) icon inside the Comment Template block to open the block inserter pop-up window and search for the Comment Date Block.
You can also use the keyboard shortcut
/comment-date to quickly insert a Comment Date block inside a Comment Template block.
The block toolbar contains the tools to customize each block. The Comment Date Block’s toolbar consists of the following tools:
You can transform a Comment Date block into a Columns, or a Group 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 Comment Date 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.
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 button.
Here are the options for the Comment Date Block:
In the Settings tab, you can select the Date format. By turning on the Default format option, you can choose to use the default date format. When this setting is turned off, you can select the preferred date format from the drop-down list or enter a custom date or time format.
You can also turn on/off the ‘Link to comment’ switch. Turning on this button will link the date field to the specific comment.
The Comment Date Block lets you customize the text, background, and link color. Click on any of the options to change the color. Choose from the default color or click the upper rectangle area to pick a custom color using the color picker.
To access all the typography options click on the 3-dot button in the right corner of the Typography tab. You also have the option to Reset all the typography changes you made by clicking on the Reset all option in the dropdown.
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.
- Created 2022-07-25