Post Author Block

Go back to the list of Blocks

The Post Author block displays the username of the post’s author. This block is primarily nested inside a query loop block and helps to customize the appearance of the query loop. 

Post Author block displayed inside a query loop

The Post Author block has a byline space in which you can write optional text, such as “Written by:” or “Post Author: ” to precede the author’s name.

Adding a byline before the Post Author Block

Single post templates already include the Post Author block by default. That said, you can insert this block elsewhere by clicking the Add block icon to open the block inserter pop-up window and search for the Post Author block. You can also type /Post Author and hit enter in a new paragraph block to add one quickly.

Adding Post Author block

Detailed instructions on adding blocks can be found here.

Block toolbar

Each block has its own toolbar, which contains unique controls that let you customize or configure the block. The Post Author block has the following options on its toolbar:

Transform to

If you click the Post Author icon on the toolbar, you’ll open the Transform to options to convert the block into Columns, Group, and Post Author Name blocks.

Transform option in the Post Author block

Block moving tools

The Drag button lets you drag and drop the Post Author block and reposition it anywhere on the editor, while the Move up and Move down buttons let you move the Post Author block up or down on the editor. 

Block moving tools in the Post Author block

If the Post Author is inside a row block, the Move up and Move down buttons are replaced by the Move left and Move right buttons to move the Post Author block inside the row block.

Block moving tools in the Post Author block when inside a row block

Text alignment

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

Text alignment tools in the Post Author block

Duotone filter

The duotone filter options let you apply the duotone filter to the Post Author avatar that will be shown in this block when enabled.

Duo tone filter in the Post Author block

Text formatting

Text formatting in the Post Author block

The text formatting options are available when editing the Post Author block’s byline. Here are the available text formatting options:

  • Bold
  • Italic
  • Link

There’s also a drop-down menu that displays more options as follows:

  • Highlight
  • Inline code
  • Inline image
  • Keyboard input
  • Strikethrough
  • Subscript
  • Superscript

More options

More options in the Post Author block

Click on the Options button to show more block options. A drop-down menu will appear, and here are the actions you can find:

  • Show/Hide more settings opens or closes the block settings panel on the editor’s sidebar. Its functionality is similar to clicking the Settings button at the top-right section of the editor.
  • Select parent block will move you to the parent block that contains the Post Author block.
  • Copy block adds the Post Author 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 Template part allows you to create a new template from the selected block. A pop-up window will appear to name the template part and select the template area.
  • Create Reusable block 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 Author deletes the selected block from the content.

Block settings

Every block has specific options in the block settings panel. To open it, select the block and click the Settings button at the top-right section of the editor, or click the Options button on the block toolbar and select show more settings.

Settings

The settings section lets you show the user’s avatar or bio on the block. Use the toggle control to display the user’s avatar and/or bio in the Post author block.

Settings in the Post Author block

If the block is used in a page or post editor, there will be two additional drop-down menus to select the author and avatar size.

Settings in a post or page

Color

The Post Author 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 Author 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

Dimensions

The Post Author block provides dimension settings options to add padding and margin.

For details refer to this support article: Dimension settings overview

Advanced

The advanced section lets you add CSS classes to use a custom style for the selected Post Author block.

Advanced settings in the Post Author block

Changelog

  • Created 2022-11-21

Was this article helpful? How could it be improved?

First published

Last updated