Query Wrangler
[resolved] Featured Image? (4 posts)

  1. david.sarnowski
    Posted 3 years ago #

    I want to create widget that displays the featured image from posts and links back to those posts. How can I do that?


  2. makbeta
    Posted 3 years ago #


    With query wrangler create a new query of the "widget" type.
    Change the Row Style to 'Fields'
    Under Fields click add fields and add Image Attachment. Once it's added click on the Image Attachment link & configure what size you want image to display & whether or not it should link to the post.

    Aside from customizing the number of posts under posts per page & maybe limiting the type of posts via Filter you are done.

    Hope this is helpful.

  3. daniele.bruneo
    Posted 3 years ago #

    Actually, the Image Attachment works only if the featured image is attached to the post (if it was uploaded into the post).
    If you use an image from the gallery, as featured, the Image Attachment doesn't retrieve it.

    At least it worked this way for me.

  4. mcfilms
    Posted 3 years ago #

    Also, I just learned, if you have multiple images attached and you trim it to show ONE, it shows the last image uploaded. That makes sense. However I think there should be a way to add the Featured Image as a field, for those cases where more images were added afterwards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Wrangler
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic