• Resolved mlorim

    (@mlorim)


    How do I use search for the text in an image caption?
    e.g. a caption that is an art piece description under an image.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Looks like it’s working: searching for “Shorebreak” or “Seagrapes” finds the post with those paintings. What kind of searches are not working as expected?

    Thread Starter mlorim

    (@mlorim)

    Thanks for your reply.
    I could find the post title with the search word, but I was wanting a visitor to get search results for individual images by caption without scrolling and searching through the whole post and visually scan for it, which WordPress already does.

    Plugin Author Mikko Saari

    (@msaari)

    If you want Relevanssi to return individual images instead of posts, you need to adjust the settings so that Relevanssi indexes the “attachment” post type. That should help.

    Thread Starter mlorim

    (@mlorim)

    Thanks very much.
    I selected Post Types|attachment and Custom fields|Some|_wp_attachments_image_alt and reindexed.
    That finds the image alt text linked to the image filename.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Caption search’ is closed to new replies.