Skip to main content

Post Author

The current post's author — a byline, with an optional avatar.

The block renders through the post_author element — the same PHP that runs in the page builder, so the front end is identical either way.

What the sidebar exposes

OptionWhat it does
author_prefixText before the name, e.g. “By”
link_to_authorLink to the author archive
show_avatarShow their avatar
avatar_sizeAvatar size
text_alignAlignment
text_colorText colour
font_size_presetText size preset

Anything not listed stays available in the page builder, and round-trips untouched — the block only writes the values you change, so an element styled in the builder keeps every setting this sidebar does not show.

This block is dynamic

It renders whatever post it finds itself in, at render time. In the editor that is the post you are editing — so the canvas shows this post's value, which on a new draft is often empty, correctly.

In a Theme Builder template it stands for every post the template serves.

A byline, not a bio

For the card with a description, avatar and social links, use the Author Box block instead.

Margin and padding come from Gutenberg

The block declares core spacing support, so the element's own spacing option is not exposed here — use the Dimensions panel at the top of the sidebar.