What are facets?

What are facets?What are facets?

In WP Grid Builder, facets are interactive elements that enable users to perform different actions on the displayed content. Facets include a range of actions such as filtering, sorting, loading content, resetting, and applying filters. Here’s a comprehensive summary of facet actions:

  • Filter: Refine displayed content by selecting specific criteria like categories or tags.
  • Sort: Arrange content by criteria such as date or price for easier navigation.
  • Load: Dynamically load content without refreshing the page.
  • Reset: Revert the content to its default state, clearing applied filters.
  • Apply: Apply filters by clicking a submit button or redirecting to a filtered page.


Facets in WP Grid Builder seamlessly integrate with both plugin-generated and third-party content, offering interactive filtering options. Whether you’re showcasing plugin-generated grids or incorporating content from a page builder or third-party plugin/theme, facets enhance the browsing experience according to user preferences. This adaptability ensures a consistent and intuitive browsing experience across various content sources.

To display a facet on a page, you can use blocks, shortcodes, widgets, or elements from add-ons dedicated to certain page builders.

A facet is always associated with a grid or third-party content. This means that in a facet block, shortcode, or widget, you must specify a grid or content to be filtered by the facet.

When using a grid with a facet, it’s not necessary to add the grid to the page to render it. The grid is optional on the page to make it work. This means that, for example, you can display a Map facet without a grid. The grid must be attached to the facet block, shortcode, or widget, but it is not required to be added to the page.


In WP Grid Builder, filter facets (excluding search and user selection facets) are indexed in a custom table for performance reasons. This means that the filter options available to users, such as categories, tags, or custom fields, are stored in a specialized database table designed for efficient retrieval and processing.

Indexing these filter facets in a custom table enhances the performance of filtering operations within WP Grid Builder. When users apply filters to refine the displayed content, the system can quickly locate the relevant entries in the custom table, significantly reducing the time required to retrieve and present the filtered results.

By utilizing a custom table for indexing filter facets, WP Grid Builder optimizes the filtering process, ensuring a smooth and responsive user experience. This approach improves the overall performance of the plugin, especially when dealing with large datasets or complex filtering criteria.

Facets are automatically indexed when content changes on your site and can be manually indexed from the plugin dashboard or in the facet overview table.