The Listable and Listify themes both have FacetWP integration that, at the time of writing, is incompatible with FacetWP 3.9.x.

Listable and Listify are using deprecated FacetWP functions, causing facets and the submit button on the homepage to malfunction.

When clicking the facet options or the search button, you will see several JavaScript errors in the browser console, similar to these:

Uncaught TypeError: FWP.parse_facets is not a function Uncaught TypeError: FWP.build_query_string is not a function

The Listable / Listify team authors are aware of the problem but at the time of writing, this has not been fixed yet.

While waiting for a fix in the themes themselves, the quickest way to repair this is to put this hook in your (child) theme’s function.php:

How to use custom PHP code?

PHP code can be added to your (child) theme's functions.php file. Alternatively, you can use the Custom Hooks add-on, or a code snippets plugin. More info

add_filter( 'facetwp_load_deprecated', '__return_true' );

Alternatively, if you don’t want to touch your (child) theme you can add it through our Custom Hooks Plugin:

  • Download the Custom Hooks plugin
  • Browse to Plugins > Add New. Click the “Upload Plugin” button at the top.
  • Upload, then activate the Custom Hooks plugin
  • Browse to Plugins > Plugin Editor. Then in the dropdown, select “Custom Hooks”.
  • At the bottom of the code, paste in the above custom add_filter() hook.

This filter can be removed as soon as the issue is fixed and you have updated your theme. We will update this page as soon as the Listable / Listify themes have been fixed.

See also

Last updated: May 2, 2023