# Featured listings: Search query generator

Build a search query for your featured listings section in Pages. All fields are optional. You can start from a base query you generated in listing management or build a query from scratch.

Base query

Query from listing management

Paste the query you generated in [listing management](https://console.sharetribe.com/listings). Leave blank to build a query from scratch using the fields below.

Which filters would you like to add to your query?

Listing typeListing categoryPublic listing fieldMetadata listing fieldLocationPrice rangeKeywords

Sorting

Default sorting optionsNo sorting (default marketplace order)Newest firstOldest firstPrice: low to highPrice: high to low

Default sorting options are configured in Console under [Listings › Search](https://console.sharetribe.com/a/listings/listing-search).

Custom sorting options

Low to highHigh to low

Sort by a number metadata listing field — useful for custom ordering like featured placements or operator-assigned ranking scores. Enter the metadata field ID. When set, this overrides the default sorting above. Create and manage metadata fields in Console under [Listings › Listing fields](https://console.sharetribe.com/a/listings/listing-fields).

Your query

Copy this query to a _Listings_ section in [Pages](https://console.sharetribe.com/a/content/pages) to feature the listings that match it.

Fill in at least one field above to generate a query.

Copy query