Guide
Add a product search bar anywhere with a shortcode.
Many themes ship a search box that searches blog posts as well as products. The Gazelle Search plugin gives you a product search bar with instant results that you can drop into a header, sidebar or page with one shortcode.
Free plan: 500 products and 10,000 searches a month. No card needed.
1. Install the plugin
In WordPress go to Plugins → Add New, search for "Gazelle Search", then install and activate it. WooCommerce must be active. Settings live under Gazelle Search in the admin menu.
2. Add the shortcode
Paste the shortcode into a Shortcode block, a page, or any header or footer area that accepts shortcodes. You can use it more than once on a page; each search bar works on its own.
- [gazellesearch]: the search bar with your saved settings
- [gazellesearch placeholder="Search 2,000 parts"]: your own placeholder text
- [gazellesearch show_categories="0"]: hide category suggestions
3. Put it in your header
There's no one-click theme switch: you choose where the bar goes. Use your theme's header builder or a header widget area, add a Shortcode block or the classic "Gazelle Search" widget, then hide the theme's own search icon so shoppers see one search box.
4. Check it on mobile
On phones the search can open as a full-screen overlay so results aren't hidden behind the keyboard, and you can show only an icon in tight headers. Both are switches under Gazelle Search → Search Bar Settings. Test on a real phone before you go live.
Next: better results
The plugin's local search matches product titles and SKUs. For typo tolerance, variation SKUs, synonyms and a results page with filters, connect Gazelle Cloud under Gazelle Search → Gazelle Cloud. The free plan covers up to 500 products.
Questions
- Does it work with my theme?
- The shortcode and widget work in any theme that lets you add a shortcode or widget to the header or sidebar. We don't patch individual themes; if your header can't hold a shortcode, use a widget area or Elementor.
- Can I show product recommendations too?
- With Gazelle Cloud connected, the [gazelle_recommendations] shortcode shows bestsellers, trending, new, similar or recently viewed products.
Related
Free to start