Exclude live results where there are no featured post images

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Exclude live results where there are no featured post images

This topic contains 2 replies, has 2 voices, and was last updated by Roman Mueller lddd 4 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16047
    Roman Mueller
    lddd
    Participant

    Hi there,

    i am looking for some option to hide/exclude results from the Ajax Live Results Box where no featured post images / thumbnails added.

    So just showing results with thumbnails instead.

    Thanks in advance

    #16051
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    In case you are using the Isotopic layout, there is an option for that here: https://i.imgur.com/oFsDEBp.png

    For other layouts, you will need a custom code to remove the results before displaying them. Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!

    Let me know if you need any help with it.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #16055
    Roman Mueller
    lddd
    Participant

    Hi there,

    thanks, works best 🙂

    feel free to close this ticket.

    Best,
    Roman

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.