WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
Attachment pages not displaying correct thumbnail (3 posts)

  1. UrracaCreative
    Member
    Posted 1 year ago #

    I've been really happy with the Relevanssi plugin so far, but I have noticed one issue that I'm really hoping someone can help me with.

    I have the plugin set to index and search attachments since my site is a photography portfolio and I'd like guests to be able to search for specific images. However, when I run a search for an image, it will return a result with the default thumbnail instead of a thumbnail of the actual image.

    Here is an example of what I mean. I did a search for "bison", and while it shows up in the search results, it's displaying the old default thumbnail image of a magpie.

    Any tips on how I can fix this so that it displays a thumbnail of the image instead?

    Thanks in advance!

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Relevanssi doesn't have much to do with this, you need to edit your theme search results template to figure out why you're getting the wrong thumbnail.

  3. UrracaCreative
    Member
    Posted 11 months ago #

    Okay, thank you! I'll see if I can get it fixed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic