Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] the excerpt

Home Forums Support [Resolved] the excerpt

Home Forums Support the excerpt

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #335220
    Eric

    Hi,

    It’s a bit strange. I don’t know why html tags aren’t stripped within my excerpts (neither on the blog page, neither with WP_SHOW_POSTS on the homepage). This only happens if I’m using the Read More tag. I believe I should not use excerpts, at least for the moment…

    Kind Regards,

    v

    #335329
    Leo
    Staff
    Customer Support

    Hi there,

    WordPress strips all HTML in excerpts by default UNLESS if you use the More Tag: https://docs.generatepress.com/article/using-the-more-tag/

    If you don’t want the HTML to be included then try using the Excerpts length in the customizer: https://docs.generatepress.com/article/blog-overview/#blog-content

    #335709
    Eric

    I think I just won’t use the More Tag !

    (I had nod activated the blog module yet : waouw, big and enjoyable surprises!)

    #335727
    Leo
    Staff
    Customer Support

    Awesome 🙂

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