# Search Form

## **1: Shortcode Format**

<div><figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FbIP66wXXsJnyA4AOJVzU%2FScreen%20Shot%202024-07-31%20at%2011.41.55.png?alt=media&#x26;token=47274923-2b5b-40a2-98ef-5903bf6fb873" alt=""><figcaption><p>2 Columns</p></figcaption></figure> <figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2F2P3AEQEYbalcjxIsszJC%2FScreen%20Shot%202024-07-31%20at%2011.42.42.png?alt=media&#x26;token=69988b28-456e-46a4-b726-dde2a03d2269" 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](https://ovatheme.gitbook.io/brw/basics/global-settings/search)
* **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](https://ovatheme.gitbook.io/brw/basics/customize-template-in-theme-or-child-theme)

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
```
