-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split Post Author in to separate blocks #35596
Comments
The question remains whether this should be a user block, with an author variation? |
In the context of template editing, something like a Post Author block simply needs to output the author of the associated post / page. It should not have options to change the author and so on. So perhaps an all-powerful user block isn't required in this case? Or at least, this would be a stripped-down variation of such a block. It may be worth checking in with the comments loop block work (#34994) which has similar requirements. |
Would the idea be to offer a pattern that 'binds' all the blocks together? I say this because whilst splitting makes sense for those that want that control, it also can be very confusing to have so many tiny block pieces everywhere. I think we might want to balance both. |
More than one pattern, I hope! |
I want so much to see these split blocks. Additional suggestions: Author role/capability block, user meta/custom field block. |
We need to start thinking about how we are going to tie the individual blocks together. |
I raised a question here about if we also need a "View all posts by..." block? Where the correct link to the author archive is already included. |
I think this issue can be closed. Most elements of the Post Author block have already been split into separate blocks. The only Byline element doesn't exist as a block, but since it's just a As a next step, #53427 has been submitted suggesting that this block be deprecated. |
Post Author currently serves as a monolithic block for displaying all information relating to the post author:
It would be more flexible (in terms of layout composition) for this information to be split in to separate blocks. Similar to what we're doing with the comment blocks.
Author Byline?Not planned.These blocks should probably be restricted to either the Query block, or Singular templates.
The text was updated successfully, but these errors were encountered: