# Search Filters

Under the **Search Filters** tab, you can modify parameters and behaviors related to search and filter widgets.

{% hint style="info" %}
The settings of the **Search Filters** tab **vary between demos.**
{% endhint %}

You can reach the tab by following **Motors Plugin > Search Filter**s. Here is an overview of the **t**ab:

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FhflrXXSoqKkf2kkludWz%2Fimage.png?alt=media&#x26;token=b1ba6ff4-5656-4793-904b-c17388785608" alt=""><figcaption></figcaption></figure>

## Default Sorting by

The **Default Sorting by** setting allows you to choose the initial sorting method for your listings. Here are the available options:

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FFlAGR8Heg8w7PoDypOFc%2Fdefault%20sorting.jpg?alt=media&#x26;token=5201b69f-dbd1-41d5-aa0a-41a49744c07c" alt=""><figcaption><p>Available Default Sort Options</p></figcaption></figure>

{% hint style="info" %}
Sorting options may vary based on the [listing categories](https://docs.stylemixthemes.com/motors-theme-documentation/search-filter/inventory-listing-categories) and the [imported demo.](https://docs.stylemixthemes.com/motors-theme-documentation/getting-started/how-to-import-demo-content)
{% endhint %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FiIwIAV0KgvJYBUtRUMAD%2Fimage.png?alt=media&#x26;token=0aa84557-4569-434a-93b9-1a4d25153e7a" alt=""><figcaption></figcaption></figure>

## Filter by Listing Categories

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FE0j30VrUlRNcTqgaLZVa%2Fimage.png?alt=media&#x26;token=05c1fd6b-da28-452a-94a1-cda4050b4604" alt=""><figcaption></figcaption></figure>

This setting allows you to select which categories (custom fields) users can filter listings by. You can enable filters based on attributes allowing users to narrow down search results based on their preferences.

{% hint style="info" %}
Options in this setting vary based on the **Custom Fileds (listing categories)** on your website. You can [**manage**](https://docs.stylemixthemes.com/motors-theme-documentation/search-filter/inventory-listing-categories) them by following **WP Dashboard > Motors Plugin > Custom Fields.**
{% endhint %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FqiEGplCI9S68OmMR31er%2Fimage.png?alt=media&#x26;token=f3075ef0-0011-4664-bc59-b6d16522ac48" alt=""><figcaption></figcaption></figure>

## Use WordPress Search for Listings

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FwReM2AVAKS8U2tA36DR6%2Fimage.png?alt=media&#x26;token=1a057f08-a4da-4c96-b70a-7b9cd249e686" alt=""><figcaption></figcaption></figure>

When enabled, this setting binds the **WordPress default search** option to the [**Search Results** (**Inventory) page**](https://docs.stylemixthemes.com/motors-theme-documentation/motors-plugin-settings/pages#listings-page-inventory)**.** So if you search something via **WordPress default search** the page will be redirected to the Inventory page

{% tabs %}
{% tab title="Setting OFF" %}
The searched elements will be displayed on the WordPress default Search results page:

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FjYcWCap4Ll439PnXaajI%2FMotors%205.20%20-%20Classified%20IBind%20WP%20Search.png?alt=media&#x26;token=eae8e804-60bb-41a9-b0cf-976053a4ed73" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Setting ON" %}
The Inventory page will open on the search

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FtkxWsYPtSeypDfZEM2iB%2FMotors%205.20%20-%20Classified%20Classic%20Inventory.png?alt=media&#x26;token=e8245357-421e-4997-bdd8-efb0d82ec0b4" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Search by Keywords&#x20;

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FYnBMVlN6g5gDtwjKEkQL%2Fimage.png?alt=media&#x26;token=3404cf1d-e454-4376-bd69-a69807137f6f" alt=""><figcaption></figcaption></figure>

This option enables a keyword search functionality, allowing users to search for listings using specific words or phrases. This provides a more flexible search experience as users can input any relevant term to find what they are looking for.

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FPMh9r27RY36tLfhYwJDK%2Fimage.png?alt=media&#x26;token=638b7352-39ba-457c-9cca-6b7e16508c8c" alt=""><figcaption></figcaption></figure>

## Filter by Features

Enable this option to display the sorting by Additional listing features.

{% tabs %}
{% tab title="Setting OFF" %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FtkxWsYPtSeypDfZEM2iB%2FMotors%205.20%20-%20Classified%20Classic%20Inventory.png?alt=media&#x26;token=e8245357-421e-4997-bdd8-efb0d82ec0b4" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Setting ON" %}

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2Fbn0V5owSkQCGYc3sh2hb%2FMotors%205.20%20-%20Classified%20Inventory%20with%20Aditional%20features.png?alt=media&#x26;token=5e9bfee9-36d0-4215-a030-d913840a7e9c" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Filter by Location

This setting allows users to filter listings by location. This is especially useful for users looking for vehicles within a specific geographic area.

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FDYTiOKc6BpQBJZnFU5TT%2Fimage.png?alt=media&#x26;token=1406a1de-eb9e-4d5f-85c5-9d3f5309c346" alt=""><figcaption></figcaption></figure>

* **Sort by Distance** - the search results will be sorted based on proximity, showing vehicles closest to the user’s location first. This feature is particularly useful for users looking to find vehicles near them.
* **Unit of Measurement** - this option allows you to define the unit of measurement for distances displayed on the search results page. You can select from available units such as **miles** or **kilometers**.
* **Max Search Radius** - this setting allows you to define the maximum radius within which users can search for listings based on location. Users can specify the radius of their search to refine the results.

<figure><img src="https://2954064479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDP3ivYPbpYO9Rs_wuB%2Fuploads%2FcHYdxatxDfqRxL8lS2fk%2Fimage.png?alt=media&#x26;token=6fe31469-7b23-4be5-8367-a461189ce3c6" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %} <mark style="color:orange;">**IMPORTANT**</mark>

[**Google Maps API**](https://docs.stylemixthemes.com/motors-theme-documentation/motors-plugin-settings/google-services/google-maps) setting should be configured to make the **Filter by Location** feature work.
{% endhint %}
