FAQ

Which wp-config.php constants does Super Speedy Filters support?

Published

These optional constants (all defined in the plugin’s defines.php) tune behaviour – add them to wp-config.php above the “stop editing” line. The most useful:

  • define('SSF_OPTIMISE_TAX_QUERIES', true); – replaces slow term-relationship joins with the fast object-ancestors table.
  • define('SSF_SHOW_SINGLE_VARIATIONS', array('pa_color')); – show individual variations (e.g. per colour) as their own products in the archive. List only attributes actually used for variations. When choosing the widget post type, always pick ‘product’, never ‘product_variation’.
  • define('SSF_META_KEYS', array('mykey')); – expose raw postmeta keys as filters (then run wp ssf rebuild).
  • define('SSF_DISPLAY_FILTERED_CATS_ON_NON_CAT_PAGES', true); – allow category filtering on the shop page and roll subcategory products up to the parent.
  • define('SSF_REMOVE_DEFAULT_SORT_ORDER', true); – drop the ORDER BY on archives when no ?orderby is set.
  • define('SSF_MAKE_FILTERS_BE_FILTERED_BY_SEARCH', true); – make filter lists/counts respect the search term (beta; can be slow on broad searches).
  • define('SSF_REMOVE_SHOP_FROM_BREADCRUMBS', true); – drop the Shop link from breadcrumbs.

Still stuck? Post a screenshot on our Discord.

Further reading

every other known problem and its fix.
setting up and configuring the filters.

Comments