Attributes Filter Shortcode

With [attributes_filter] shortcode you can display all or selected attribute filters on any page content. Please see attribute filter widget docs if you want to show attribute filters inside a widget area.

You should also use the [show_products] shortcode so the filters can be applied. Like this:

[attributes_filter]
[show_products]

This will show product list with available attribute filters on the top.

Attributes filter shortcode parameters

You can use two shortcode paramterers:

  • labels – to show filters for selected attributes only you should provide comma separated attribute names here (please note that it is case sensitive)
  • shortcode_support – set to zero to disable shortcode output filtering

Example:

[attributes_filter labels=Color,Size]

It will show filters only for Color and Size attributes.

This feature is a part of Product Attributes PRO. Click here to see all Product Attributes PRO features.