Excerpts not showing for content in various containers
-
Hi… On some of my sites I use the Nexter blocks and noticed a problem displaying excerpts if the content of the post was put into a Nexter container. The excerpt would show fine if put into a WP Column container, bun not show if put into a Nexter container.
I put the support request over to Nexter, but they responded that the problem is with Gutenberg ‘blocking’ the blocks (I don’t have any more detail than that.)
So I decided to do an experiment… First I created a new blank WP site (zipWP) and installed at random some block builders – Nexter, Spectra, Otter, Gutenverse. Then I created a page with a Latest Posts block configured to show the excerpt. I then created a post in which I created one container from each of the block builders and put some simple text in each container. What I discovered is that only content from the WP Core and Spectra containers would show in the excerpt. Nexter, Otter, and Gutenverse content would not show in the excerpt. All containers would show if I configured Latest Posts to show full content, but only WP Core and Spectra containers would show in the excerpt.
Based on those results, it seems to me that there is some glitch in the way WP is handling the_excerpt. Or is may be that there is some requirement for showing the excerpt that at least Nexter, Otter, and Gutenverse are not aware of.
Here’s a video or what I’m seeing: https://share.zight.com/nOu4jplb
And more specific steps:
Bug Summary:
Excerpts not displaying for certain block builders in WordPressDescription:
When using the block builders in WordPress, excerpts are not being displayed correctly for content put into containers from some of the block builders. The issue occurs specifically with container block content created using Nexter, Otter, and Gutenberg block builders, while WP and Spectra containers display excerpts as expected. (Note, other block builders may also have this problem, I just test five.)Steps to Reproduce:
- Create a temporary WordPress site using ZipWP to ensure a clean environment.
- Install the following block builders: Gutenberg, Nexter, Otter, and Spectra.
- Create a page and use the “Latest Post” block.
- Set the block to display excerpts.
- Structure the post content with the following setup:
- WP Container: Add a paragraph to identify WP Container.
- Spectra Container: Add a paragraph to identify Spectra Container.
- Nexter Container: Add a paragraph to identify Nexter Container.
- Otter Container: Add a paragraph to identify Otter Container.
- Gutenvers Container: Add a paragraph to identify Gutenverse Container.
- View the page.
Expected Result:
All containers (WP, Spectra, Nexter, Otter, and Gutenberg) should display excerpts correctly.Actual Result:
Only WP and Spectra containers display excerpts. Nexter, Otter, and Gutenberg containers do not show excerpts when viewing the page.Additional Information:
- Viewing the full post for each container displays all blocks correctly.
- The issue seems to be isolated to the excerpt display.
- Nexter support mentioned that the Gutenberg editor may be blocking access to excerpts for some containers, but no specific details were provided.
- You must be logged in to reply to this topic.