# Search button

{% hint style="info" %}
This feature was added in version 4.13.1
{% endhint %}

![](/files/-LG5caRhUBGbXRdgIY_b)

The search button can be enabled to be visible on the search filters box. This button can be used as a trigger to the live search, or to redirect to the search results page.

![Search button within the filters](/files/-LG5brOgMpva1TYjuRbz)

### Functionality settings

![](/files/-LG5d5zetm1S-iwq4y_R)

This option decides what happens when the button is pressed. The supported actions are:

* Trigger live search (default)
* Redirect to the results page
* Redirect to the WooCommerce results page
* Redirect to a custom URL
* Do nothing

#### Using only the search button to trigger the search

If you wish to use only the search button as a search trigger, then you need to disable all the other ones under the *General Options -> Logics & Behaviour* panel. After disabling these triggers, only the search button will activate the search process.

![Disabling Facet and Type triggers](/files/-LG5gPCO4zAsE0GcwRTR)

### Visual settings - design & layout

![](/files/-LG5dS9k3P9cwBiaml8w)

The visual options let you change the text, alignment, colors, fonts an other button settings. Clicking on the button or the **Select a button theme** link, you can choose from pre-defined button themes as well.

![](/files/-LG5dusp32U2RvScyNUh)

### Search button position in the filters list

By default the search button is positioned as last in the filters list. It however depends on the filters layout as well.

To change the buttons position, navigate to the *Frontend Search Settings -> Advanced Menu*, where you should see a drag & drop type option. On the bottom of it, you should see the search\_button item. Dragging it will change it's position.

![](/files/-LG5etwpNvJO8Qu2Blun)

The buttons position may also be affected by the column layout. This layout can be changed on the *Frontend Search Settings -> General* panel.

![](/files/-LG5fHiwLO5t7tfRdOJP)


---

# 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/frontend-search-settings/search-button.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.
