-
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
New Block: Post Excerpt #19698
Comments
A placeholder screen might make sense if this block is ever used on it's own, but if it was the child block of a Posts template, I'd assume it would be repeated and that it would inherit the parent block's setting for a specific category, tag, or something like "recent." Here's a quick mockup that doesn't take all this into account, but gets the point across. |
This block should never manage its own post context. It will just inherit it from a parent Post block or the top-level post context.
I don't see how category type or tag is a setting of the post excerpt. |
I imagined if I was creating a Category page, listing excerpts of all posts with that category, then I'd want my post excerpts reflect that from the parent or CPT, right? Maybe I'm thinking about this incorrectly? |
This is a Post Excerpt block, not a Post Excerpts block. The category page would wrap this in a query block that renders multiple instances of it, each with a different post context. |
Would this be the block to also adjust the words "Read more.." or something else the user decides? |
Yes
|
Is there any objection to using a I'm not sure how valuable multiple pre-determined count variations would be - as the user would likely manipulate the count based on the font size/content width/theme style (and how those look work together). And what do we think about adding |
That's what I did.
Agreed.
Makes sense. |
As indicated in #15623, there will be a suite of Post blocks that make up the Post template.
This is the Post Excerpt block.
Features
Mockups
Selected (grays out the uneditable text)
Unselected (text resumes normal color)
Questions
The text was updated successfully, but these errors were encountered: