# Search Hotel Form

## 1: Shortcode Format

<figure><img src="/files/ZQFM68sy6vZvx78gQbL4" alt=""><figcaption></figcaption></figure>

```
[ovabrw_search_hotel field_1="category" field_2="pickup_date" field_3="dropoff_date" field_4="guest" field_5="" field_6="" field_7="" field_8="" default_cat="" category_in="" category_not_in="" list_taxonomy_custom="" card="card1" columns="column4" orderby="date" order="DESC"  /]
```

Some params:

**field\_1:** You can display one of the following fields: **name, category, pickup\_date, dropoff\_date, guest, attribute, quantity, tags, price\_filter**

**field\_2:** You can display one of the following fields: **name, category, pickup\_date, dropoff\_date, guest, attribute, quantity, tags, price\_filter**

**field\_3:** You can display one of the following fields: **name, category, pickup\_date, dropoff\_date, guest, attribute, quantity, tags, price\_filter**

**field\_4:** You can display one of the following fields: **name, category, pickup\_date, dropoff\_date, guest, attribute, quantity, tags, price\_filter**

**field\_5:** You can display one of the following fields: **name, category, pickup\_date, dropoff\_date, guest, attribute, quantity, tags, price\_filter**

**field\_6:** You can display one of the following fields: **name, category, pickup\_date, dropoff\_date, guest, attribute, quantity, tags, price\_filter**

**field\_7:** You can display one of the following fields: **name, category, pickup\_date, dropoff\_date, guest, attribute, quantity, tags, price\_filter**

**field\_8:** You can display one of the following fields: **name, category, pickup\_date, dropoff\_date, guest, attribute, quantity, tags, price\_filter**

**default\_cat**: It is term\_slug

**category\_in**: term\_id: 123|456

**category\_not\_in**:  term\_id: 123|456

**columns**:  column1, column2, column3, column4, column5

**list\_taxonom\_custom:** slug: test1|test2

**card:** card1, card2, card3, card4, card5, card6

**columns**: column1 | column2 | column3 | column4 | column5

**orderby:** default date

**order:** DES or  ASC

**result\_url:** Redirect to custom page

**is\_use\_guest\_woo:** Use guest settings from Woo (ex: yes) &#x20;

Example guest name: adult\
&#x20;min\_adult => 1\
&#x20;max\_adult => 3\
&#x20;default\_adult => 1

## 2: Customize Template

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

You can customize template in&#x20;

```
plugins/ova-brw/ovabrw-templates/shortcode/search-hotel.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-hotel-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.
