Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Resolved] Gutenberg Excerpt not being tuncated

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Gutenberg Excerpt not being tuncated

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #16122
    dave-smith
    Participant

    I converted a post from Classic to Block editor. Put the excerpt where it is to go, but it isn’t being truncated to the 30 characters like the classic post excerpt.

    You can see this at https://boulderrealestatenews.com/dev/ the third post on the right.

    If I don’t add the excerpt only the title shows.

    Dave Smith

    • This topic was modified 5 months, 4 weeks ago by dave-smith.
    #16169
    Tom
    Keymaster

    Hi there,

    Did you add a manual excerpt? If so, it will use that entire excerpt instead of cutting it off for you.

    The automatic limit only applies when no manual excerpt is specified.

    #16188
    dave-smith
    Participant

    I only filled it in when I discovered the excerpt wasn’t showing, only the title. My first blocks post so wasn’t sure what was going on. I then filled in the excerpt and it showed up.

    I’ve remove the excerpt and now as before, only the title is displaying. You can see it at the link posted above.

    Thanks,

    Dave

    #16223
    Tom
    Keymaster

    Yea, Gutenberg has a hard time making excerpts from nested content. I’m working on a way to get around it in GenerateBlocks, but haven’t found a good solution yet.

    For now you might need to provide a manual excerpt which matches your desired length.

    #16230
    dave-smith
    Participant

    Thanks Tom,

    That was my hunch. The workflow I’m creating for working with Gutenberg is to start all content with a GB Container. In most cases followed with a GB Grid and go from there.

    #16278
    Tom
    Keymaster

    Yea, I have the same workflow. Are you designing your blog posts that way, though?

    #16285
    dave-smith
    Participant

    Yes, I start every page/post with a container set to full width.(for the current site I’m building. Then I build inside the container.
    typically some thing like
    Container
    Headliner
    Paragraph
    Paragraph
    Headliner
    Grid (2 columns)
    left column
    Container
    Paragraph
    List
    Paragraph
    Buttons
    Button
    Container
    Image
    This is typical it is what I used on this page which a converted classic edit post I converted to blocks in a screencast for the client.
    https://boulderrealestatenews.com/dev/home-in-boulder-colorado-for-under-300000/

    #16305
    Tom
    Keymaster

    Got it. I’ll do my best to find a solution 🙂

    #16309
    dave-smith
    Participant

    Tom,

    For the time being I can live with adding the excerpt manually. Spend the time on the show posts block version, I think it is a better use of your time.

    Dave

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.