The search bar goes wherever you want it with one shortcode.
The shortcode:
- [results_ai_search]
Put it on a page or post:
Edit any page, add a Shortcode block, and paste [results_ai_search]. Publish and the bar is live.
Put it in a sidebar or footer:
Go to Appearance, then Widgets, and add the Results AI Search widget. You can give it a title and your own placeholder text. A Shortcode widget with [results_ai_search] works too.
Put it in your theme header:
If you want the bar in your header or navigation area, add this to the template file where you want it to appear:
- <?php echo do_shortcode('[results_ai_search]'); ?>
How many bars can I add?
As many as you like. Each one works independently and can have its own settings, so you can run a wide bar on a search page and a compact one in your header.
Every bar you place uses the same index, so there is no extra load from adding more.