[Resolved] show image in excerpt post

Home Forums Support [Resolved] show image in excerpt post

Home Forums Support show image in excerpt post

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #215518
    John

    Hi Tom,

    Is there a way to show a image which is in a post (not a featured one) in the excerpt of that post?

    Kind regards
    John

    #215596
    Tom
    Lead Developer
    Lead Developer

    WordPress excerpts strip all HTML (including images).

    However, you could set a manual excerpt using the more tag which will include HTML: https://generatepress.com/knowledgebase/using-the-more-tag/

    #215622
    John

    Hi Tom,

    Thanks for your reply.

    Ik now it must be possible to do, because the website i want to restyle with GP is built with a theme that doesn’t use features images. The image which is placed in the post is shown in the excerpt. Even not above but left or right aligned. (sliedrecht24.nl)

    Maybe an idea to place it in the suggestions for GP ?

    Kind regards
    John

    #215648
    Tom
    Lead Developer
    Lead Developer

    They might be using a custom excerpt function, which isn’t a good idea (and not allowed in themes on WordPress.org).

    #215821
    John

    OK, in that case i have to live with it. ๐Ÿ™

    Kind regards
    John

    #215946
    Tom
    Lead Developer
    Lead Developer
    #216136
    John

    Hi Tom

    Many thanks, i also found this one” https://en-ca.wordpress.org/plugins/easy-custom-auto-excerpt/

    I am glad that I can continue with the website.

    Kind regards and have a nice weekend,

    John

    #216183
    Tom
    Lead Developer
    Lead Developer

    Glad I could help.

    You too! ๐Ÿ™‚

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