> For the complete documentation index, see [llms.txt](https://documentation.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ajaxsearchpro.com/getting-started/search-widget.md).

# Search Widget

It is possible to add the search to your sites sidebar (or any widgetized area). If you open up the **Widgets** submenu under the **Appearance menu**, you should see three new widgets available.

* Ajax Search Pro
* Ajax Search Pro last searches
* Ajax Search Pro top searches

You can drag-drop each of these boxes to any available widgetized area.

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

## Ajax Search Pro widget

Simply displays the selected search box.

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

## Ajax Search Pro last and top searches

Will display the latest (or top) search terms in a box from the search statistics database. Please note, that this widget requires the **Search Statistics** to be enabled (disabled by default).

Search statistics can be enabled on the **Search statistics submenu** under the Ajax Search Pro menu item.

### Parameters

Source (Select the search form) - The source of the keywords. Select a search box, or all.

Action on click - What to do when the user clicks on one of the words displayed by the widget.

Number - the number of keywords to show

Delimiter - the delimiter between each word

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