Site logo

[Resolved] How to add post excerpt to block element?

Home Forums Support [Resolved] How to add post excerpt to block element?

Home Forums Support How to add post excerpt to block element?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1917498
    Kev

    Hi folks,

    I have an element at the top of my posts that displays the post title, date and taxonomies. However, I would like to add the post excerpt to that header section too. As a kind of TL;DR for the post.

    I’ve tried adding a block element and setting the dynamic text type to “post meta” and setting the meta field name to “the_excerpt” but that hasn’t worked. I’m sure I’m doing something wrong, but I don’t know what.

    Any help would be appreciated.

    Thanks!

    #1917601
    David
    Staff
    Customer Support

    Hi there,

    GPP adds two Dynamic Blocks in the Block Element:

    https://docs.generatepress.com/article/dynamic-blocks/

    You want the GP Dynamic Content Block, which has options to display the Excerpt, set the excerpt length and whether to display the Themes read more.

    #1917611
    Kev

    Doh! Thanks David. As I discover all this stuff, GP just keeps getting better and better.

    #1917612
    Kev

    Marking as resolved.

    #1917667
    David
    Staff
    Customer Support

    Glad to be of help 🙂

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