Streaming live at 10am (PST)

Conditional visibility in search results page

Hey team,

I’ve just started setting up a search results page for a project and was hoping someone could suggest a custom code hack to use conditional visibility within the search results list (much like you can on CMS lists).

For example: if a search result item is from a certain collection, do not include tags.

Alternatively, is there a way separate search results from different collections into separate search results lists? For example, one column displaying results from the blog and another column displaying results from product pages.

Any advice would be appreciated :slight_smile:


Here is my public share link:

1 Like

Also looking for a similar thing here and haven’t found anything so far. Any help hugely appreciated!


Same here!
Anyone? Anything? :face_with_monocle:

Same here!
Anyone? Anything? :face_with_monocle: [2]

It’s possible to write custom code to evaluate the text content of an element and take further action. The specifics depend on your unique requirements. Look at :contains() Selector | jQuery API Documentation for an example.

No. Webflow’s search is limited to a scope of all indexable items. You could look into third party search tools to potentially find a solution.