-
Notifications
You must be signed in to change notification settings - Fork 182
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
Twenty Twenty-One Blocks: Add post meta. #75
Conversation
@@ -186,7 +186,7 @@ hr[style*="text-align: right"], | |||
|
|||
hr:not(.is-style-wide):not(.is-style-dots), | |||
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { | |||
max-width: var(--responsive--aligndefault-width); | |||
max-width: var(--wp--custom--responsive--aligndefault-width); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also fixed this variable name — it was incorrect, and was making the separator above the meta display incorrectly.
The author block does support the text before (byline), was this left blank intentionally? |
It was — the byline is only set to show up above the author name, not next to it. I'm going to open a GitHub issue for that (as well as for the ability to un-bold the author name) in the Gutenberg repo today. Edit: I added notes to this Gutenberg issue: WordPress/gutenberg#24952 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Now the Query block will work as expected. I've left a couple of minor comments there.
We the template testing I found a bug in PostAuthor block which I'll fix in GB now.
Co-authored-by: Nik Tsekouras <[email protected]>
This PR adds post meta to the footer of posts. For reference, here are the original theme styles for these:
This PR gets somewhat close:
The PR adds this to the bottom of all single post pages, and also to each post in the main query loop. While I was in there, I made the post titles clickable, which makes this all work way better in general. 😄
Example of a post in the main index feed: