# Replacing the default theme search bar

The plugin offers a simple way to override the default theme search bar. On the search settings page you can choose which search instance you want to override the default search bar.

![](http://i.imgur.com/1qGbpZN.png)

This method is supported by 99% of the themes out there. If the default search bar is not replaced after choosing one of the options, you will have to [replace it manually](/getting-started/placing-the-search-shortcode-in-theme-files.md) in the theme code.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.ajaxsearchpro.com/getting-started/replacing-the-default-theme-search-bar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
