Color

1.5.3 (Aug 24, 2021) — Download from your account page

Allow users to filter posts or products by color.

Setup

  • For the Data Source, choose a custom field containing either color HEX values (#ffcccc) or color names (blue, green, red).

Available Options

Name Description
Behavior

Narrow the result set – the results will only display those matching all selected colors – See example

Widen the result set – the results will display all those matching any selected colors – See example

Count Options for the color facet will be limited to a maximum of the value you set for count

Integrations

Variation Swatches for WooCommerce

This plugin lets you attach colors or images to your WooCommerce product attributes. When adding a facet, set its Data Source to the product attribute containing your custom color / image swatch.

WooCommerce Attribute Swatches (IconicWP)

This premium plugin works similarly to the one above (same setup instructions).

Changelog

1.5.3

  • Improved removed jQuery dependency

1.5.2

  • Fixed removed `touchstart` event handler to prevent duplicate-click issues

1.5.1

1.5

1.4.1

  • Changed replaced `wp.hooks` with `FWP.hooks` due to conflict with WP 5.0