• Resolved bigbangtech

    (@bigbangtech)


    I’m using v3.2.2 – I’d like only the following results to display:

    1. post + featured image
    2. product + featured image
    3. media-photo (only if it is part of a jetpack gallery carousel)

    Currently, if a product has multiples images (for each product option) attached, each of those media photos show up in the search results.

    I’d also like for media photos to show up in the search results ONLY if they are part of a jetpack gallery/carousel AND when you click on the photo, open it in the carousel/lightbox view, not directly as an attachment (.jpg)

    Is this possible?

Viewing 1 replies (of 1 total)
  • Plugin Author Ajay

    (@ajay)

    I think 1 and 2 can work out of the box – the easiest way to do it is to customise the search.php of your theme to only display what you need. Then enable Seamless mode of the plugin.

    How is 3 created/saved? That might be a bit more complex and would require some code.

Viewing 1 replies (of 1 total)
  • The topic ‘How to filter media results for certain items’ is closed to new replies.