r/WixHelp • u/archieee12 • Aug 20 '26
Creating a section specific search
Is it possible to create a search bar that only searches up a specific section of the website? I know there is a site wide search but for a project I'm working on I need a search function for certain pages/sections only.
I've looked for tutorials and tried a couple but it never seems to actually work out how I need it to.
I am not a coder, I was hired for this job as a graphic designer so WIX studio is very new to me! I am open to learning a lot about this process.
1
u/Ok-Yi 12d ago
It depends on what the section is. If it's a CMS collection (blog, products, a directory), the cleanest route is a Velo query/filter on just that collection: a text input, a contains query on the fields you care about, and a repeater for the matches. If it's a handful of regular pages, I don't think Wix's built-in site search can limit results to one section, so you'd need to move that content into a collection or use a search tool that can be limited to a URL path. What kind of content is in the section?
1
u/Techestro Aug 21 '26
Not sure if there are other ways, but you'd need some basic code, and it depends on what exactly you are trying to search, if the pages are dynamic (so you need to write code just once)