You can add search to an Elementor image grid, but not through Elementor's built-in tools alone
Elementor's image grid widget does not have a native search feature. If you want visitors to filter or search through images in a grid, you will need to either use a third-party plugin that works alongside Elementor, or build the search function using custom code. The most practical route for most people is installing a plugin designed for filterable image galleries — these sit on top of Elementor and handle the search and filter logic without requiring you to write code yourself.
The reason Elementor does not include search natively is that image grids are usually static displays. Adding search means adding a database query, a search input field, and logic to match what the visitor types against your image metadata. That is more complex than displaying a grid, so Elementor leaves it to plugins that specialize in that work.
Key Takeaways
- Elementor's image grid widget does not include a search or filter option built in.
- Plugins like FooGallery, Envira Gallery, and Elementor Pro's dynamic content features can add search functionality to image grids.
- Search works by matching visitor input against image titles, captions, or custom metadata you assign to each image.
- Custom code is an option if you know PHP or hire a developer, but a plugin is faster and requires no coding knowledge.
Plugins that add search to image grids in Elementor
FooGallery is a free plugin that creates filterable image galleries and works well with Elementor. You build the gallery in FooGallery's own interface, then embed it into an Elementor page using a shortcode. It includes search by image title and category filtering out of the box. The free version covers most use cases; the paid version adds more gallery layouts and advanced filtering.
Envira Gallery is another option that integrates with Elementor. It lets you create galleries with search, filtering by tags or categories, and lightbox viewing. Envira is a paid plugin starting around $40 per year for a single site. It is more polished than FooGallery but costs money.
Elementor Pro (the paid version of Elementor) includes dynamic content features that can pull images from a custom post type or taxonomy and display them in a grid. You can then add a search field that filters the grid in real time. This approach requires more setup — you need to create a custom post type, assign images to it, and configure the dynamic query — but it keeps everything inside Elementor and does not require a separate plugin.
How search works when you add it to an image grid
When a visitor types into a search field, the search function compares their text against the metadata you have assigned to each image. That metadata usually includes the image title, caption, alt text, or custom fields you create. If the visitor's search term matches any of that metadata, the image stays visible; images that do not match are hidden.
For example, if you have a grid of product photos and you tag each one with a category like "shoes" or "hats", a visitor can search for "shoes" and see only the shoe images. The search happens either on the page itself (client-side, meaning the browser does the filtering) or on your server (server-side, meaning WordPress does the filtering). Client-side search is faster for small galleries; server-side search is better if you have hundreds of images.
Setting up search with FooGallery as an example
If you choose FooGallery, the workflow is: install the plugin, create a new gallery in FooGallery's admin panel, upload or select your images, add titles and captions to each image, choose a gallery layout that includes search, then copy the shortcode FooGallery gives you and paste it into an Elementor text widget or shortcode widget on your page.
FooGallery's search feature looks for matches in the image title and caption. So if you name an image "Red leather shoes" and add a caption "Italian leather, size 5-12", a visitor searching for "leather" will see that image. The search is live — results update as the visitor types.
The main limitation is that FooGallery galleries sit inside Elementor as embedded content, not as native Elementor widgets. That means you cannot style the search box or gallery layout using Elementor's design tools directly. You style it in FooGallery's settings instead. For most people this is not a problem, but if you want complete design control within Elementor, Elementor Pro's dynamic content approach is better.
Using Elementor Pro's dynamic content for searchable grids
Elementor Pro lets you create a searchable image grid without a separate plugin. The process is more technical: you create a custom post type (a content type that holds your images), assign images to each post, then use Elementor's dynamic content feature to pull those posts into a grid widget and display the images. You then add a search widget that filters the grid based on what the visitor types.
This approach gives you full design control in Elementor and keeps everything in one place. The downside is setup time — you need to understand custom post types and how to configure dynamic queries. If you are comfortable in WordPress admin and have some experience with Elementor Pro, it is worth learning. If you are new to WordPress, FooGallery or Envira is faster.
When to use custom code instead of a plugin
If you have a developer on staff or are willing to hire one, custom code can give you a search function tailored exactly to your needs. A developer can write PHP and JavaScript to create a search that matches your specific image metadata, integrates with your site's design, and performs the way you want.
Custom code makes sense if you have a large image library (hundreds or thousands of images) and need advanced filtering, or if you want search behavior that no existing plugin provides. For most small to medium sites, a plugin is faster and cheaper than custom development.
Frequently Asked Questions
Can I search by image alt text?
Yes, if you use a plugin that indexes alt text. FooGallery searches image titles and captions by default, but you can add custom fields to store searchable metadata. Elementor Pro's dynamic approach lets you search any custom field you create. Check the plugin documentation to see which fields it searches.
Does search work on mobile?
Yes. FooGallery, Envira, and Elementor Pro's search all work on mobile devices. The search box and grid adapt to smaller screens. Test on your phone after you set it up to make sure the layout looks right and the search responds quickly.
Will adding search slow down my site?
Not noticeably for small galleries (under 100 images). Client-side search (where the browser does the filtering) is fast because it happens on the visitor's device. Server-side search can add a small delay if you have thousands of images, but most plugins optimize for speed. FooGallery and Envira are both built to be lightweight.
Can I search by multiple fields at once?
Yes. Most plugins let you search across title, caption, and custom fields simultaneously. A visitor typing "blue" will see any image with "blue" in the title, caption, or any other field you have marked as searchable. Check the plugin settings to see which fields are included in the search.
What if I want search and filtering together?
FooGallery and Envira both support search and category filters at the same time. A visitor can filter by category (like "shoes") and then search within that category (like "red"). Elementor Pro's dynamic content can do this too if you set up both a filter widget and a search widget on the same page.