Support display of the author_name for a post using a block.
Solution
Add a new virtual field author_name
Implement the callback function bw_fields_get_author_name() using get_the_author()
Note: It's also possible to use the core/post-author block, with the settings adjusted to not display the Avatar or Bio
and the "Byline" set as required for the label, if needed.
Requirement
author_name
for a post using a block.Solution
author_name
bw_fields_get_author_name()
usingget_the_author()
Note: It's also possible to use the
core/post-author
block, with the settings adjusted to not display the Avatar or Bio and the "Byline" set as required for the label, if needed.See https://github.com/bobbingwide/oik-blocks/issues/45 and https://github.com/bobbingwide/sb-field-block/issues/5