> For the complete documentation index, see [llms.txt](https://ovatheme.gitbook.io/fullevent/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ovatheme.gitbook.io/fullevent/elements/ajax-search.md).

# Ajax Search

## 1: Display at frontend

You can use Elementor or Shortcode to display template like here:

<div><img src="/files/EulD9aC2mFAVzEHYoLzl" alt=""> <figure><img src="/files/jBvqhaqKUiXqIlAKHZ2S" alt=""><figcaption></figcaption></figure> <figure><img src="/files/S0Gs8zhPrPudPVFGK3Pj" alt=""><figcaption></figcaption></figure> <figure><img src="/files/qic5tyCUTm1do23AmfcV" alt=""><figcaption></figcaption></figure> <figure><img src="/files/hTM6d8UpsuHFEp8EuQYC" alt=""><figcaption></figcaption></figure> <figure><img src="/files/WaSAV4NYK1YOlbr9sMNZ" alt=""><figcaption></figcaption></figure></div>

## 2: Config in Elementor or Shortcode

### Config Elementor

**Layout**: Layout 1, 2, 3, 4, 5, 6 like Archive template\
**Column:** 1,2, 3\
**Category**: Choose All or single category\
**Choose Time**: All, Current, Upcoming, Past\
**Posts Per Page**: Number event per page\
**Order By**: Title, Custom Sort, Start Date, ID\
**Order Post**: Descneding, Ascending

![](/files/-Mi0p1F6Hs7NbRTgb50h)

### Config Shortcode

```
[ovaev_search_ajax layout="1" column="col3" posts_per_page="6" order="ASC" order_by="ovaev_start_date_time" category="all" time_event="all"]

<!--
layout: 1 or 2 or 3 or 4 or 5 or 6
column: col1 or col2 or col3
posts_per_page: number items per page.
order: DESC, ASC
order_by: title, event_custom_sort, ovaev_start_date_time, ID
category: all or get by category slug. Example: slug1, slug2, slug3
time_event: all or current or upcoming or past
-->
```

## 3: Customize Template

Copy file\
Plugins/ova-events/templates/elements/ovaev\_events\_search\_ajax.php\
to\
Your-theme/ovaev-templates/elements/ folder. Note you have to create these folder.
