WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. david.sarnowski
    Member
    Posted 1 year ago #

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

    http://wordpress.org/extend/plugins/query-wrangler/

  2. makbeta
    Member
    Posted 1 year ago #

    David,

    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
    Member
    Posted 1 year 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
    Member
    Posted 10 months 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

About this Topic