• The default language of any content posted is English.
    Do not create multi-accounts, you will be blocked! For more information about rules, limits, and more, visit the Help page.
    Found a dead link? Use the report button!
  • Information: Safety & Support
    Resources here are generally safe, but false positives may occur on Virustotal due to certain coding techniques. Exercise caution and test before use.
    Consider buying licenses to support developers. Your security is our priority.
FacetWP - Advanced Filtering for WordPress + All addons

FacetWP - Advanced Filtering for WordPress + All addons 4.4.1

4.4.1​

April 23, 2025
  • Like
Reactions: Kensei1212
FacetWP 4.4 was released on April 23, 2025. This update contains the following improvements, new features and bug fixes:

New Map and Proximity facets​

This update brings FacetWP up-to-date with the latest Google Maps developments. It comes with significant changes that affect both the Proximity facet and the Map facet.

Make sure to read the news article about this release. It explains in detail what has changed, why we are doing this, why you should consider migrating to the new versions, and which migration steps to follow exactly.

Accessibility improvements​

We fixed an accessibility bug in fSelect facets that caused the aria-checked attribute value to not be updated to true when an option was selected.

Slider facet handles now have an aria-label attribute for accessibility. The label value is lower for the lower handle and upper for the upper handle. These two labels can be changed or translated with the facetwp_18n hook.

Improved debugging of hooks used​

How to use FWP.settings.debug.hooks_used in the browser console to track the usage of hooks.How to use FWP.settings.debug.hooks_used in the browser console to track the usage of hooks.
With Debug Mode enabled in FacetWP’s settings, typing FWP.settings.debug.hooks_used in the browser console will list all relevant hooks that are in use on the page, with their file name and line number.

The listed hooks are all hooks with a name that starts with facetwp, and the pre_get_posts hook.

To be better able to track issues with post results (as output by any WP_Query) being manipulated by custom code or other plugins, FacetWP v4.4 adds the posts_results hook to this list of detectable hooks.

We also added a new FacetWP hook, facetwp_debug_hooks, that makes it possible to add any other hook to the list of detectable hooks. You could use this to track the usage of any hook and quickly find the corresponding file and line number.

Improved Hierarchy facet​

The Hierarchy facet gained a few improved features:

Changed default indexed value for ACF True/False fields​

We changed the indexing of the default value of ACF True/False fields. In previous versions, this field type was being indexed for all posts as false, even for posts that did not even have that field.

We changed this behavior so that True/False fields are now only indexed when an explicit default value is set, by enabling the “Default Value” in the field’s settings. In this case, the default value is indexed as true.

If you still need to index false as default value, you can do so with a new hook:

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.

add_filter( 'facetwp_index_acf_truefalse_default_false', '__return_true' );

Other fixes and improvements​

  • We fixed a bug that caused WooCommerce breadcrumbs to incorrectly add “/ Page 1” when loading a page with a facet selection, or when using the facetwp_preload_url_vars hook. The fix prevents “/ Page x” being added to the breadcrumbs at all when facets are active on a WooCommerce product page.
  • We fixed a bug in the Color facet which caused it have a missing Facet Logic setting since FacetWP v4.3.5.
  • We fixed a PHP warning that happened when indexing WooCommerce variations, when a facet value has no parent term set.
  • We fixed a bug that happened when a facet had its Value modifiers setting set to any value other than “Off”, with no actual values entered in its field. In this case, the facet was being indexed as if there were value modifiers present, leading to an empty facet. We added a check for value modifiers being empty or containing only spaces, in which case the setting is ignored.
  • We fixed a bug that happened when indexing facets that have an Advanced Custom Fields Taxonomy field as data source. In this case, the facet did not re-index and update its choices when the taxonomy terms were changed or deleted. Note that in general, it is recommended to use the taxonomy itself as the facet’s data source, instead of an ACF Taxonomy field.
  • In all facets with this setting, “Preserve ghost order” is now hidden when “Sort by” is set to “Highest count”. This change was made because when ordering by highest count, the ghost order is ignored.
  • We updated all language strings and translations, and added a Text Domain and Domain Path heading, so that the front-end fwp-front text domain is now automatically recognized in translation plugins like Loco Translate.
  • Like
Reactions: Kensei1212

4.3.6​

January 31, 2025
  • Fixed escape the gmaps API key field (props Tom B)
  • Like
Reactions: Kensei1212

4.3.5​

December 16, 2024
  • Fixed various bugfixes and tweaks
  • Fixed better support ACF fields in the "Other data source" setting
  • Improved revamped the "UI type" component (used for various add-ons)

4.3.4​

November 21, 2024
  • Improved lots of admin UI tweaks
  • Improved improved import/export UI to allow "select all"
  • Improved support WooCommerce stock status for ACF fields
  • Fixed CodeMirror (code editor) initialization bug
  • Fixed the temp table should get deleted when the index is purged
  • Fixed only modify term_link URLs after the `woocommerce_shop_loop_header` action fires
  • New added `total_unfiltered` property to the pager arguments (get unfiltered count)
  • New Enable automatic indexing` setting for those wanting to re-index manually
  • Like
Reactions: edgars221289

4.3.3​

August 20, 2024
  • Fixed not all "product" post types belong to WooCommerce
  • Fixed renamed the `facetwp_transients` wp_option to prevent 3rd party conflicts

4.3.2​

August 19, 2024
  • New visual code editor (for listing templates)!
  • Improved better update-check logic
  • Improved ability to translate listing builder button labels
  • Improvedf Select - support for 3+ nesting levels
  • Improved added `facetwp_admin_settings_capability` hook to allow trusted editors to access FacetWP settings
  • Improved better ACF handling for out-of-stock WooCommerce products
  • Improved added admin warning icon when Debug Mode is enabled
  • Fixed ACF nested repeater field indexing
  • Fixed indexing progress bar not updating correctly when the auto-indexer is disabled
  • Fixed set a global default facet orderby (count)

4.3​

May 7, 2024
  • New Search facets - added "Enable relevance" UI setting
  • Improved Slider facets - only trigger a refresh when the slider handles actually move
  • Improved Debug mode - show all FacetWP-related hooks in use (even ones that return a boolean)
  • Improved Proximity facets - allow radius unit to be translatable
  • Improved WooCommerce - better counts calculation for the `facetwp_woocommerce_support_categories_display` hook (WC category filtering)
  • Updated Dependencies

4.2.12​

March 12, 2024
  • Improved Date range - hide date range when no dates are available
  • Improved Date range - add placeholder for disabled dates
  • Improved Better Multi-site debugging
  • Improved Misc styling tweaks and Slider facet styling for RTL support
  • Improved Better ACF checks to ensure that fields still exist
  • Fixed Change date defaults from 0 to empty string
  • Fixed Ensure that Pager facet's scroll offset is an integer
Top