How to restrict search to only listing title or attributes?

I believe the search listings is also searching in the description block text.

is there a hook to limit search hits only in listing title instead of looking also in description?

Something like DO NOT search in description :stuck_out_tongue: Thank you!


Unfortunately, thereโ€™s no such feature, it would require a custom implementation. But note that we rely on the core WordPress search and you can check WordPress hooks in more detail.

Ok. Thank you andrii!

So I figured how to achieve this, but seems like the map is also being affected, why? is the map also using search query?


Please note that the map displays only the markers of the current search results from this page.