Comment Author Name Block

Go to the List of Blocks

The Comment Author Name block displays the username of the comment’s author. This block is nested inside a Comment Query Loop block and lets you customize the appearance of the comment author’s name.

Comment Author Name block

You can only insert the Comment Author Name 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 Author Name block.

You can also use the keyboard shortcut /comment-name to quickly insert a Comment Author Name block inside a Comment Template block.

How to add Comment Author Name block

Detailed instructions on adding blocks

Block toolbar

Block toolbar in the Comment Author Name block

The block toolbar contains the tools to customize each block. The Comment Author Name block’s toolbar is relatively simple with the following tools:

Transform to

You can transform a Comment Author Name block into a Columns, or a Group block. 

Transform option in the Comment Author Name block

Block-moving tools

Block moving tools in the Comment Author Name block

Use the block-moving tools to move the block up and down the editor. Use the six dots icon to drag and drop the Comment Author Name 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.

Get more information about moving a block within the editor.

Change text alignment

Change text alignment in the Comment Author Name block

Text alignment options lets you choose to align the author’s name left, center, or right.

More options

 

Read about these and other settings.

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 button.

Here are the options for the Comment Author Name block:

Link settings in the Comment Author Name block

In the Link Settings section, you can enable the Link to authors URL option to link the author’s name to their profile page. When you enable it, the Open in new tab option will appear. Enable it if you want the author’s profile page opened in a new tab.

Color

Text and background colors can be set on a per-block basis, allowing you to call attention to important content. Pick a color from the suggestions, or add a custom color using the color picker or by adding a color code.

Color settings in the Comment Author Name block

See this guide for more information about changing colors.

Typography

Typography settings allow you to change a block’s font size, appearance, line height, letter casing, and spacing.

Typography settings in the Comment Author Name block

Get more details about changing typography settings.

Dimension

Dimension controls are used to control how groups of blocks are placed alongside one another, by changing the values for padding, margin, and other dimensions

Dimension settings in the Comment Author Name block

Learn more about dimension controls.

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 option in the selected Block
Advanced option in the selected Block

Changelog:

  • Created 2022-07-25

Was this article helpful? How could it be improved?

First published

Last updated