Blog Posts Block should ignore manual excerpt length and respect the block's excerpt length settings #56094
Labels
[Block] Blog Posts
Blocks
Editor blocks, aka Gutenberg blocks, plugins, and extensions
Triaged
To be used when issues have been triaged.
[Type] Enhancement
User Report
This issue was created following a WordPress customer report
What
Make the Blog Posts Block ignore any existing manual excerpt length and force the post excerpt to be displayed as per the Block settings.
Why
When a manual excerpt is set, the Blog Posts Block's excerpt length setting is not respected, creating a visually jarring and inconsistent experience.
Example:
The above screenshot shows the excerpt length set to 10 words. When a manual excerpt is set in the lock Editor, the excerpt length will not change regardless of if the excerpt length in the block is set to 10 or 100 words.
How
The excerpt length should change based on the settings selected by the user, even with a manual excerpt is set in the Block Editor.
We could do this by adjusting the length of the manual excerpt or by overriding it completely and taking the first block of text from the page.
The latter will be undesirable for users who have hand-crafted excerpts created for SEO or related purposes.
The text was updated successfully, but these errors were encountered: