# Search Form

## **1: Shortcode Format**

<div><figure><img src="/files/KW7epY9UCx9cUqqwUOCN" alt=""><figcaption><p>2 Columns</p></figcaption></figure> <figure><img src="/files/lk8sPyfHPPFHANT9uUYf" alt=""><figcaption><p>1 column</p></figcaption></figure></div>

```
[ovabrw_search /] 
```

* If you don't insert params in shortcode, the params will get in [Search Settings](/brw/basics/global-settings/search.md)
* **Some params**:\
  \+ **template**: insert your  template name\
  \+ **column**: one-column, two-column, three-column, four-column, five-column\
  \+ **show\_name\_product**: yes/no\
  \+ **show\_attribute**: yes/no\
  \+ **show\_tag\_product**: yes/no\
  \+ **show\_pickup\_loc**: yes/no\
  \+ **show\_dropoff\_loc**: yes/no\
  \+ **show\_pickup\_date**: yes/no\
  \+ **show\_dropoff\_date**: yes/no\
  \+ **show\_cat**: yes/no\
  \+ **show\_tax**: yes/no\
  \+ **show\_price\_filter**: yes/no\
  \+ **name\_product\_required**: yes/no\
  \+ **tag\_product\_required**: yes/no\
  \+ **pickup\_loc\_required**: yes/no\
  \+ **dropoff\_loc\_required**: yes/no\
  \+ **pickup\_date\_required**: yes/no\
  \+ **dropoff\_date\_required**: yes/no\
  \+ **category\_required**: yes/no\
  \+ **attribute\_required**: yes/no\
  \+ **hide\_taxonomies\_slug**: Insert slug taxonomies. separated by "," ( slug\_a,slug\_b,slug\_c)\
  \+ **remove\_cats\_id**: Insert ID Categories. separated by "," ( cat\_a, cat\_b, cat\_c)\
  \+ **taxonomies\_slug\_required**:  Insert slug taxonomies. separated by "," ( slug\_a,slug\_b,slug\_c)\
  \+ **timepicker**: true/false\
  \+ **dateformat**: d-m-Y, m/d/Y, Y/m/d, Y-m-d\
  \+ **hour\_default**: 12, 24\
  \+ **time\_step**: Insert number , Ex: 15\
  \+ **order**: DESC, ASC\
  \+ **orderby**: date\
  \+ **class**: Insert your class

## 2: Customize Template

[Read here to know how to customize template in child theme](/brw/basics/customize-template-in-theme-or-child-theme.md)

The shortcode support [Default Template](#a-default-template) and [New Template](#b-new-template):

### a) Default template

You can customize template in&#x20;

```
plugins/ova-brw/ovabrw-templates/shortcode/search_form_full.php
```

### b) New template

Example: You can use shortcode with new template (ex: simple\_search)

```
[ovabrw_search template="simple_search" /] 
```

You have to create a new template in  theme. The file name have to like "template" param:

```
themes/your-theme/ovabrw-templates/shortcode/simple_search.php
```


---

# 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://ovatheme.gitbook.io/brw/basics/shortcodes/search-form.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.
