[Resolved] Unformatted representation of the contribution extract.

Home Forums Support [Resolved] Unformatted representation of the contribution extract.

Home Forums Support Unformatted representation of the contribution extract.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #632150
    DWCore

    Hello Tom,

    Once again I need your help.

    Why are the excerpts of posts on the start page displayed unformatted when I select in the Customizer under Layout -> Blog as content type “excerpt”?

    See screenshots:
    Screenshot gp_auszugdarstellung_1.png shows you how the extract is displayed and
    gp_auszugdarstellung_2.png, how the actual article is formatted.

    I hope you can help me again this time.

    Many Thanks

    Best regards,
    Werner

    #632371
    David
    Staff
    Customer Support

    Hi there,

    the_excerpt function in WordPress automatically strips out all the mark up – hence the loss of formatting.
    You can replace that function with some code, if you’re up for that here is a very detailed article:

    https://wordpress.stackexchange.com/questions/141125/allow-html-in-excerpt

    Or you may want to look for a plugin like: https://wordpress.org/plugins/advanced-excerpt/

    #632414
    DWCore

    Hello David,

    Thank you for your explanation and the link to the corresponding article. That was very helpfull. 🙂

    #632506
    David
    Staff
    Customer Support

    You’re welcome, glad to be of help

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