# Search Hotel Ajax

## 1: Shortcode Format

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FJqLHXIfd9Naro3axsVYp%2Fimage.png?alt=media&#x26;token=4e11ee33-1729-489d-a1bf-b9f7f0cdec83" alt=""><figcaption></figcaption></figure>

```
[ovabrw_search_ajax_hotel field_1="name" field_2="category" field_3="pickup_date" field_4="dropoff_date" field_5="guest" form_search_position="left" default_cat="" category_in="" category_not_in="" list_taxonomy_custom="" card="card1" posts_per_page="6" result_column="two-column" 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**

**form\_search\_position:** left, right, top

**default\_cat**: term\_slug&#x20;

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

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

**list\_taxonomy\_custom**:&#x20;

**posts\_per\_page**: Insert number like 10.

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

**posts\_per\_page:** Insert number

**result\_column**: one-column or two-column or three-column

**orderby**: date

**order**: DESC

## 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)

You can customize template in&#x20;

```
plugins/ova-brw/ovabrw-templates/shortcode/search-ajax-hotel.php
```
