You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 Bioand the "Byline" set as required for the label, if needed.
See bobbingwide/oik-blocks#45 and bobbingwide/sb-field-block#5
The text was updated successfully, but these errors were encountered: