Search, filter and sorting
Visitors can search, filter and reorder a grid without reloading the page. All three work together: the filter, the search, the order and the pages always follow each other. You add them in the Toolbar section (below), where each control’s settings open under the board.
Filter
Add Filter in the Toolbar, then choose what to filter by under Filter by: categories, tags, post formats or another taxonomy of the source. If the Content section limits the grid to some terms, only those terms (and their children) are offered.
- “All” label: the text of the button that shows every item. Default: All.
- Show item counts: the number of items next to each term.
- Style: Default, or a style your theme adds.
The filter needs a source with taxonomies. For Media Library images, the categories you set on the images work as filter terms.
Shareable links: in Forma → Settings → Filter & Sort, the chosen filter and order go into the page address, for example ?filter=branding&sort=title-asc. A filtered view can then be shared, bookmarked and found by search engines, and Back and Forward step through the choices.
Search
Search adds a field that filters the grid as the visitor types. It searches titles and text, and for Media Library images their titles, descriptions and categories. Placeholder sets the text in the empty field (default: Search…).
Sorting
Sorting adds a control that lets visitors reorder the items.
- Orders to offer: Newest, Oldest, Title: A to Z, Title: Z to A, Recently updated, Most viewed (portfolio projects, while Count views is on), Most commented, Menu order, Random. The first four are on by default.
- First option: the order shown before the visitor picks one. Default order uses the order set in Order & limit.
Toolbar
The Toolbar section holds the controls. Click + Search, + Filter or + Sorting to add one: it lands on a board of two rows, each with a Left, Center and Right zone, and its settings open under the board. Click a control on the board to edit it, drag it to another zone (or press Alt + arrow keys), and drag it off the board (or press Delete) to remove it. Each device can have its own places.
A row stays on one line while its controls fit. On narrow screens the center zone moves to a line of its own.
The rows apply when the grid shortcode prints the controls itself (Shortcodes → “Output search, filter, sorting and pagination with the grid”). When you place the controls with their own shortcodes, only the zone counts: it becomes the control’s alignment.