[Resolved] Display Featured Image In Latest Posts with Excerpt

Home Forums Support [Resolved] Display Featured Image In Latest Posts with Excerpt

Home Forums Support Display Featured Image In Latest Posts with Excerpt

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1196126
    Tim

    Hello

    I would like the Featured Image of a Post to display beside the Excerpt in the Latest Posts widget.

    How can I achieve this ?

    Also if I didn’t want to use the Featured Image, but instead the first image in the Content, how could I achieve that ?

    Thanks

    Tim

    #1196193
    David
    Staff
    Customer Support

    Hi there,

    the default WordPress Recent Posts widget doesn’t support thumbnails.
    You would need to use a plugin instead – for example:

    https://en-gb.wordpress.org/plugins/recent-posts-widget-with-thumbnails/

    #1196205
    Tim

    Hi David

    I’m not aware of a best practice method for adding a such a third party widget to the main content area of a page.

    Do you have a code snippet or alternative solution for that ?

    Thanks

    Tim

    #1196208
    David
    Staff
    Customer Support

    I think we have our wires crossed – can you share me a link where i can see the Latest Posts ? You can edit your original topic and use the Site URL Field to share a link privately.

    #1196210
    Tim

    Hi David

    I have updated with a link.

    It is a Page currently using the WP “Latest Posts” widget for a single category “team” with its listing option set to “Excerpt”

    I’m attempting to add the Post’s thumbnail to the listing.

    Thanks

    Tim

    #1196233
    David
    Staff
    Customer Support

    Aah ok – the Latest Posts Block doesn’t support featured images either.
    We recommend the WP Show Posts plugin for creating lists:

    https://wpshowposts.com

    #1196258
    Tim

    OK Thanks David

    I have that working now listing with WP Show Posts with the Featured Image and Excerpt, I didn’t see a way to use first image in post, so now I’m wondering if there is a way to suppress displaying the Featured Image from the post view ?

    Thanks

    Tim

    #1196425
    David
    Staff
    Customer Support

    See here:

    https://docs.generatepress.com/article/adjusting-the-featured-images/

    TLDR – Customizer > Layout > Blog –> Featured Images -> Post (tab) Uncheck Display Featured Image

    #1196932
    Tim

    Great.

    Thank you again David for fast tracking me through the options and switches.

    #1196977
    David
    Staff
    Customer Support

    Happy to be of help

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