// Changelog (older versions)

2.7.5

  • February 6, 2017
  • IMPORTANT: FacetWP will soon require PHP 5.3 or above
  • We now collect PHP version during update checks. This information will only be used to notify users whose servers need to be updated.
  • Improved: switched user selections to single-select (see Power Plants demo)
  • Improved: automatic number formatting for slider and number_range facet types
  • Improved: using WP’s remove_accents() to replace diacritics
  • Improved: data sources can now be ordered by “weight”

2.7.4

  • January 24, 2017
  • Improved: custom build of WP-JS-Hooks to prevent third-party conflicts
  • Improved: replace diacritics for `facet_value` column
  • Improved: submit button for number range facets
  • Improved: slightly less specific CSS pager selector (Flatsome support)
  • Fix: ensure that `$product` is defined (WooCommerce)
  • Fix: set flatpickr `disableMobile` option to TRUE
  • Updated noUiSlider
  • Updated jQuery Autocomplete
  • Added Danish translations (props Rasmus Grønbech)

2.7.3

  • January 5, 2017
  • New: loading animation setting (spin, fade, none)
  • New: `facetwp_index_all_products` filter (to index out-of-stock WooCommerce products)
  • Improved: `FWP_HTTP.get` JS variable is now dynamic
  • Improved: don’t change search orderby when an “orderby” URL parameter is detected
  • Improved: REST API responses now contain JS settings for facets (if available)
  • Fix: ACF5 “Undefined variable” PHP warning
  • Fix: REST API issue when posts_per_page = -1
  • Fix: Respect WooCommerce’s “Used for Variations” checkbox
  • Fix: renamed “rotate” to “spin” for CSS animations
  • Updated to flatpickr 2.2.9

2.7.2

  • December 14, 2016
  • Fixed WooCommerce product variation support (see usage)
  • New: `facetwp_indexer_post_facet_defaults` filter
  • New: Czech translations
  • Improved: only index in-stock WooCommerce product / variations
  • Improved: use purchase ID instead of license key for support
  • Improved: lookup term name for product variation values
  • Fix: strip non-breaking spaces from user selections
  • Fix: force associative array for json_decode() in class-ajax.php
  • Fix: force array for $matches within class-facet.php
  • Updated to flatpickr 2.2.5
  • Updated to noUiSlider 9.1.0
  • Updated translations

2.7.1.1

  • November 29, 2016
  • Fix: reverted WooCommerce product variation support while we address some bugs and performance issues

2.7.1

  • November 22, 2016
  • Please re-index if using WooCommerce
  • Fix: incorrect results when filtering on variable products
  • Improved: Finnish translations
  • Updated to flatpickr 2.1.1

2.7

  • November 15, 2016
  • New: full support for WooCommerce variable products
  • New: WooCommerce data sources – Price, Sale Price, Regular Price, and Average Rating
  • Improved: support ACF5 date_picker fields
  • Improved: select first proximity result on “Enter” press
  • Improved: welcome screen cleanup
  • Improved: flatpickr l10n
  • Fix: hierarchy facet indentation issue
  • Updated flatpickr (latest nightly)
  • Updated translations

2.6.5

  • October 18, 2016
  • Improved: better range intersect logic
  • Improved: FWP.settings.num_choices now supports hierarchy facets
  • Fix: get ACF field groups in all languages (WPML fix)
  • Fix: ghost choices should count as non-empty

2.6.4

  • October 7, 2016
  • Improved: faster loading of admin settings screen
  • Improved: radio facets now support “ghosts” and “preserve ghost order” settings
  • Improved: facet labels are now translatable
  • Improved: FacetWP_Ajax->refresh() now uses wp_die() for better debugging
  • Improved: date picker IE fixes
  • Tweak: REST API “facets” response variable is now an associative array
  • Renamed `facet_setting_is` method to `facet_is`
  • Removed bootstrap-datepicker
  • Updated to flatpickr 2.0.4
  • Updated to noUiSlider 9.0.0
  • Updated to jQuery Autocomplete 1.2.26
  • Updated translations

2.6.3

  • September 19, 2016
  • New: radio facet type
  • Improved: FWP()->facet->facets is now an associate array (facet names as array keys) for easier access

2.6.2

  • September 2, 2016
  • New: `FWP.settings.num_choices` JS object for determining whether facets have available choices
  • Improved: prettier plugin details modal
  • Improved: simplified User Selections JS logic
  • Improved: strict equality operators (JS)
  • Fix: sanitize User Selections box to prevent XSS (props Bill Reed)
  • Fix: CSS-based templates shouldn’t re-render on pageload
  • Fix: wrap autocomplete terms within `$wpdb->esc_like`
  • Updated flatpickr (latest nightly)

2.6.1

  • August 17, 2016
  • Fix: date range selector issue
  • Tweak: JS template injection logic

2.6

  • August 6, 2016
  • New: REST API endpoint
  • New: autocomplete “Placeholder” setting
  • New: date_range “Display format” setting
  • New: “facetwp_gmaps_api_key” hook
  • New: “facetwp_template_force_load” hook
  • Changed: removed deprecated hash-based permalinks
  • Changed: replaced Bootstrap Datepicker with flatpickr
  • Fix: better error handling for missing taxonomies

2.5.3

  • July 5, 2016
  • Fix: GitHub Updater PHP notice
  • Fix: checkbox “ghosts” setting PHP notice
  • Tweak: WooCommerce / EDD assets filterable via `facetwp_assets`
  • Updated Dutch translations

2.5.2

  • June 20, 2016
  • New: added GitHub Updater class (automatic updates for add-ons)
  • Improved: allow FWP variables to be set before front.js loads
  • Improved: added JS hook to prevent hierarchy checkbox toggles
  • Fix: prevent selected checkbox items from disabling
  • Fix: prefixed “reset” and “loading” CSS classes to prevent conflicts
  • Fix: checkbox toggle issue when paginating
  • Tweak: minor copy edits

2.5.1

  • June 15, 2016
  • Important: if you recently upgraded the Time Since, Select2, or Alpha add-ons, please upgrade again
  • Fix: Cannot read property ‘length’ of undefined JS error
  • Fix: ensure that FWP object exists
  • Fix: remove [+] toggle links from selections box
  • Fix: render inline scripts after assets

2.5

  • June 10, 2016
  • New: support for WooCommerce product variations
  • New: support for ACF user fields
  • New: i18n for bootstrap-datepicker.js
  • New: Google Maps API key support (`GMAPS_API_KEY` constant)
  • New: `facetwp_assets` filter to control loading of CSS/JS files
  • Improved: show/hide toggles for hierarchical checkbox facets
  • Improved: WooCommerce indexing performance tweak
  • Fix: prevent Date Range logic from interfering with Bookings add-on
  • Fix: Safari issue when copying shortcodes from admin
  • Updated translations

2.4.6

  • May 24, 2016
  • Improved: fSelect JS is now much faster
  • Improved: moved facet logic into front-facets.js
  • Fix: clicking a user selection too fast resets all selections
  • Updated translations

2.4.5

  • Improved: added CSS classes to user selection items
  • Improved: pass empty custom field values through facetwp_index_row
  • Fix: issue with ACF repeater fields and “Source other” setting
  • Added Portuguese, updated Romanian translation

2.4.4

  • New: intro screencast on the Welcome screen
  • New: “Behavior” setting for fSelect facets
  • New: “facetwp_render_params” hook
  • Improved: Welcome screen UI
  • Improved: “html” param added to the “facetwp/template_html” JS hook
  • Fix: clicking the fSelect arrow icon should open the dropdown

2.4.3

  • New: fSelect supports shift+click
  • Improved: proximity radius supports decimals
  • Improved: better UX for the facet / template name field
  • Improved: export tool now using fSelect library
  • Fix: reverted SearchWP changes from 2.4.2
  • Fix: only auto-fill facet / template names when empty
  • Fix: fSelect search issues
  • Fix: fSelect should close when another is opened
  • Fix: date range facets break when using “Exact date” mode
  • Fix: PHP notice with ACF integration
  • Fix: typo in accessibility.js
  • Updated translations

2.4.2

  • New: “Compare type” option for range facet types
  • Improved: cleaner SearchWP integration
  • Fix: fSelect facets not preserving spaces during search
  • Fix: prevent “facetwp_indexing” wp_option from autoloading
  • Fix: PHP notice for checkbox facets
  • Fix: typo in query-string.js
  • Updated NL translations (props Toon Van De Putte)
  • Updated to noUiSlider 8.3.0

2.4.1

  • New: Romanian translations
  • New: facetwp_template_use_archive filter (allow shortcode templates to detect archive queries)
  • Improved: the admin UI hard refresh after import
  • Improved: fSelect (javascript library) support for disabled options
  • Improved: Date Range facet now includes an “Exact Date” field option
  • Fix: slider facet ranges are preserved when selected
  • Fix: prevent “pre_get_posts” action from triggering multiple times
  • Fix: user selections should trigger “facetwp-refresh” event
  • Fix: load facet labels, even for static facets
  • Fix: iOS issue for fSelect facets
  • Tweak: renamed sample template from “Default” to “Example”
  • Tweak: standardized plugins_url() usage
  • Updated nummy.js and query-string.js
  • Updated German translations

2.4

  • What’s new in FacetWP 2.4
  • New: fSelect facet type (dropdown combo-box)
  • New: checkbox “Soft limit” setting (show/hide facet choices)
  • New: WooCommerce “On Sale” Data Source option
  • New: Argentinian translations
  • Improved: better “Data Source” dropdown UI
  • Improved: prepend user selections with the facet label
  • Improved: hide some unnecessary EDD fields from the Data Source dropdown
  • Improved: bust asset cache on new FacetWP version
  • Improved: fSelect is now keyboard-friendly
  • Changed: renamed CSS class from “facetwp-collapsed” to “facetwp-overflow”
  • Changed: replaced hierarchy “More” text with “See more”
  • Updated translations

2.3.4

  • New: `facet_setting_is` helper method
  • Improved: added `facetwp_facet_from` filter to hierarchy facets
  • Improved: added `facetwp_facet_where` filter to hierarchy facets
  • Improved: added `facetwp_facet_orderby` filter to hierarchy facets
  • Improved: better dual-value logic for slider, date range, and number range facets
  • Fix: removed deprecated Google Maps “sensor” parameter
  • Fix: FWP.reset() should trigger the “facetwp-refresh” event
  • Fix: prevent Auto Drafts from triggering the indexer
  • Fix: for hierarchical facets, exclude the parent from appearing when “Parent Term” option is set
  • Fix: proximity facet should respect FWP.auto_refresh
  • Upgraded Bootstrap Datepicker (1.6.0)

2.3.3

  • Improved: autocomplete “No results” text is translatable
  • Improved: the FWP_Init class is now accessible via `FWP()->init`
  • Improved: the “Distance” sort option only appears when a Proximity facet exists on the page
  • Improved: Proximity facet’s radius dropdown supports dynamic values
  • Improved: Added “Settings” link to Plugins page
  • Changed: `FWP.serialize()` javascript method is now `FWP_Helper.serialize()`
  • Upgraded jQuery Autocomplete
  • Upgraded Bootstrap Datepicker
  • Updated translations

2.3.2

  • Fix: issue related to certain facets not resetting or spinning indefinitely
  • Fix: AJAX `first_load` value incorrect in some situations

2.3.1

  • New: facetwp_facet_render_args filter
  • Improved: much smarter indexer resuming
  • Improved: prevent multiple “Re-index” clicks from spawning new indexer processes
  • Improved: added `no_found_rows` indexer query argument (optimization)
  • Improved: indexer post IDs are cached for more efficient resuming
  • Fix: ignore Safari’s “popstate” on initial pageload
  • Fix: back button not showing the correct template results
  • Fix: proximity facet autocomplete issue
  • Fix: proximity facet “geolocate” icon disappearing after first use
  • Fix: reverted FACETWP_CACHE handling due to possible issues

2.3

  • New: support for the (soon-to-be-released) Conditional Logic add-on
  • New: Dutch translations (props Pascale Van Craeyveld)
  • New: search facets now have an “Undo” icon
  • Improved: prevent certain facet types from triggering a full UI refresh
  • Improved: efficiency tweaks when indexing ACF repeater sub-fields
  • Improved: stripped BODY from CSS-based template responses (New Relic fix)
  • Improved: class-display.php cleanup
  • Fix: don’t bypass facets when FACETWP_CACHE exists
  • Fix: PHP error for Number Range facets
  • Changed: removed focusout event from search facets
  • Updated to noUiSlider 8.2.1
  • Updated translations

2.2.9

  • Improved: setup code is now within FWP.init()
  • Improved: support tickets show child theme debug info
  • Fix: proximity facet issue with pagination
  • Fix: slider facet issue with FWP.reset()
  • Fix: autocomplete facets and apostrophes
  • Fix: fSelect was unable to load default values
  • Fix: reset “paged” when a user selection is removed
  • Deprecated: “Permalink Type” setting, hidden for new users

2.2.8

  • Improved: disabled WP object caching when indexing (less memory usage)
  • Improved: better dual-range filtering logic for number range facets
  • Improved: better dual-range filtering logic for slider facets
  • Fix: fSelect dropdown selector not re-opening
  • Fix: slider dual-range issue

2.2.7

  • Improved: better logic for date range facets w/ 2 data sources
  • Improved: query debugging support (`FACETWP_DEBUG` constant)
  • Improved: moved init code to includes/class-init.php
  • Improved: Welcome screen design tweaks
  • Fix: ACF repeater sub-field indexing issue (ACF5)
  • Fix: back / forward button issues (related to bfcache)
  • Fix: sort_by_distance() incorrectly returning all results when no matches
  • Fix: translation support for “Per Page” text
  • Upgraded noUiSlider to 8.1.0
  • Updated translations

2.2.6

  • New: support for ACF google map fields + proximity facets
  • New: `facetwp_proximity_autocomplete_options` filter for customizing the proximity autocomplete box
  • New: `facetwp_shortcode_html` filter (for advanced users)
  • Fix: better handling of custom fields containing a “latitude, longitude” value

2.2.5

  • Fix: proximity facet incorrectly indexing negative lat / lng values
  • Fix: SearchWP issue with checkbox facets in “OR” mode

2.2.4

  • Fix: proximity coordinates not indexing correctly with Listify (please re-index)
  • Changed: renamed `get_post_location` function to `facetwp_get_location`

2.2.3

  • New: proximity facet type
  • New: proximity “geolocate” button
  • New: support for programmatic facets and templates
  • New: `facetwp_facet_search_engines` filter
  • Improved: new loading icon
  • Improved: Welcome screen text edits
  • Improved: added version to front.css (cache buster)
  • Improved: keyboard support for fSelect library
  • Fix: only show selections that have a label
  • Fix: slider javascript error when no matches
  • Fix: proximity facet not saving “Unit of Measurement” setting
  • Fix: date range “Fields” setting not saving
  • Updated translations

2.2.2

  • New: support for ACF taxonomy fields
  • Improved: confirm before deleting a facet or template
  • Improved: indexer performance gains
  • Improved: CSS templates return “body” content (instead of full HTML document)
  • Fix: reverted term_permalink setting for Listify compatibility

2.2.1

  • New: slider support for separate “lower” and “upper” values
  • New: date range, number range support for separate upper limits
  • New: get_row_data() indexer method
  • Improved: admin UI efficiency
  • Improved: make sure the ACF class only loads once
  • Improved: removed CSS min-height from hierarchy facets

2.2

  • New: admin UI overhaul
  • New: Query Builder for FacetWP templates
  • New: fSelect library for select box replacement
  • Improved: caching add-on support for CSS class-based templates
  • Improved: more javascript strings are now translatable
  • Improved: replaced some icons with WP Dashicons
  • Improved: renamed “Facet Count” to “Highest Count”
  • Fix: search facets not using SearchWP engine
  • Updated translations

2.1.5

  • New: “total_pages” parameter within FWP.settings.pager
  • New: facetwp_facet_from filter (for checkbox & dropdown facet types)
  • Improved: trigger facetwp-refresh event *before* changing the permalink
  • Improved: better SearchWP integration (NOTE: requires SearchWP 2.6+)
  • Updated translations

2.1.4

  • New: WooCommerce “Stock Status” data source (even supports variable products)
  • Improved: removed deprecated “term_permalink” setting from the admin UI
  • Improved: re-ordered Facet Type dropdown to show most used facet types first
  • Improved: upgraded to noUiSlider 8.0.2
  • Fix: indexer was skipping values equal to 0
  • Fix: search box was resetting other facet selections
  • Fix: preserve $post and $wp_query variables when using shortcode templates
  • Fix: hierarchy issue with terms belonging to multiple taxonomies

2.1.3

  • Improved: high-res checkbox image
  • Improved: upgraded to noUiSlider 8.0.1
  • Improved: search facet refresh triggers on “focusout” event
  • Improved: UI tweaks to admin “?” icon
  • Fix: bug with SearchWP 2.6 integration
  • Fix: handler for WooCommerce sort / pager controls
  • Fix: PHP warning (static method) with ACF4 integration
  • Fix: PHP warning when there are no ACF fields
  • Updated translations

2.1.2

  • New: support for SearchWP 2.6+
  • New: selections box is now client-side (fewer DB queries!)
  • New: facetwp_facet_filter_posts filter (for custom filtering logic)
  • New: 2nd parameter to the facetwp_facet_dropdown_show_counts filter
  • Improved: nicer admin loading animation
  • Improved: permalink logic (spaces previously triggered an MD5-based permalink)
  • Improved: support for ACF true / false fields
  • Improved: license status reminder added to the plugin list screen
  • Updated WP-JS-Hooks library

2.1.1

  • New: Advanced Custom Fields integration (see blog post)

2.1

  • New: “Per Page” shortcode
  • New: partial ARIA accessibility support
  • New: safe_value() helper method
  • New: facetwp_i18n function
  • Improved: better dropdown filtering logic
  • Improved: translation support for DB strings
  • Improved: dropdown performance
  • Improved: admin topnav UI tweaks
  • Improved: error handling for PushState and IE9
  • Improved: thousands / decimal separator cleanup
  • Updated translations

2.0.10

  • Fix: test for valid JSON before saving admin settings
  • Fix: pagination should trigger a refresh, even when FWP.auto_refresh is false
  • Improved: license check via HTTP (some hosts block outgoing HTTPS)
  • Improved: added hi-res loading icon

2.0.9

  • New: integration with WooCommerce pager and sort controls (see screencast)
  • New: hierarchical taxonomy support for dropdown facets
  • New: Italian translations (props Daniel C.)
  • Improved: checkbox font size is no longer forced at 13px
  • Fix: front.js – inject template HTML even if it’s an empty string
  • Fix: conditional logic in admin settings page
  • Fix: newline issue in Firefox in the Templates settings page

2.0.8

  • Fix: template display issue on initial pageload
  • Fix: admin UI (flexbox) support for IE10 and Safari
  • Fix: German translation edits (props Annette V.)
  • Improved: better slider error handling

2.0.7

  • Improved: increased template performance
  • Improved: admin styling tweaks
  • Improved: re-translated all 6 languages (DE, ES, FR, NO, RU, SE)
  • Fix: prevent WP from redirecting FacetWP pagination (e.g. /page/2/)
  • Fix: pager & sort should only auto-refresh when `FWP.auto_refresh` is true

2.0.6

  • Fix: date picker styling issues
  • Fix: support relative paths for FACETWP_URL (props @Josh412)
  • Fix: potential double-sanitization issue
  • Added Swedish translations (props Johan Falk)

2.0.5

  • Improved: show slider “Reset” button only when needed
  • Improved: admin area now uses CSS flexbox (meant for newer browsers)
  • Improved: facets will now render, even if inside of “facetwp-template” CSS class
  • Improved: better input sanitization
  • Improved: upgraded Bootstrap Datepicker
  • Improved: upgraded jQuery Autocomplete
  • Fix: prevent slider values from disappearing after page reload
  • Changed: renewal reminder appears < 30 days before expiration (plugins page)

2.0.4

  • Fix: template preloading issue with the CSS method
  • New: `facetwp_facet_sources` filter for adding / modifying Data Sources
  • Improved: Autocomplete facets will also refresh when “Enter” is pressed
  • Improved: Autocomplete – more text is now translatable

2.0.3

  • Fix: proper preloading of content with pre-selected facets
  • Fix: PHP notice with new “preserve_ghosts” checkbox setting
  • Improved: better EDD integration
  • Improved: support for EDD’s [ downloads ] shortcode
  • Improved: moved get_preload_data() method into AJAX class
  • Added Norwegian translations (props @bjornjohansen)

2.0.2

  • Improved: FWP.parse_facets() is slightly more efficient
  • Fix: resolved 2 PHP notices

2.0.1

  • Fix: conflict with FacetWP templates inside a WP Loop

2.0

  • New: welcome screen
  • New: FacetWP templates are now search engine visible!
  • New: settings for thousands / decimal separators (for non-US numbers)
  • New: updated slider facet to support custom separators
  • Improved: added “No results” text for Autocomplete facets
  • Improved: settings page CSS cleanup
  • Improved: removed some unnecessary debugging information from Support tab
  • Improved: updated sample content for fresh installs
  • Updated translations

1.9.3

  • New: setting to preserve ordering of checkbox ghosts
  • New: javascript method for getting the FacetWP-generated query string
  • Improved: better license status sync
  • Improved: re-organized integration code

1.9.2

  • New: setting to choose either GET or HASH-based permalinks
  • Improved: removed email pre-filling from Support tab (lots of false positives)
  • Improved: upgraded to noUiSlider 7.0.10
  • Improved: search box now uses HTML5 “search” input type
  • Improved: minor slider alignment tweaks

1.9.1

  • New: `suffix` option for the slider facet
  • Fix: PHP notice when indexing facets without a Source field

1.9

  • New: slug permalink support for taxonomy term values
  • New: “Permalink” setting within FacetWP > Settings
  • New: get_setting() helper method
  • New: `term_id` table column (to allow for slug permalinks)
  • Improved: moved `facetwp-refresh` event slightly (to after the hashes are set)
  • Improved: `get_term_depths()` now returns more term information
  • Improved: adjusted `sort_taxonomy_values()` method to use the new term_id column
  • Fix: indexer – prevent duplicate data when resuming
  • Fix: indexer – when resuming, some posts would (rarely) not get indexed
  • Fix: escaped custom field names within esc_attr
  • Updated translations

1.8.7

  • Fix: previous Safari popstate fix caused multiple ajax requests
  • Fix: SearchWP integration incorrectly returned all results when no matches
  • Improved: better support for the CSS class template approach

1.8.6

  • New: JS filter to customize template output
  • New: `facetwp_search_query_args` filter (search facet)
  • New: `facetwp_indexer_post_facet` filter (override values for specific facets)
  • Improved: minified event-manager.js
  • Improved: cleaned up settings page code
  • Fix: back button support in Safari

1.8.5

  • New: Back / Forward button support (HTML5 history API)
  • New: JavaScript filter for customizing slider options (facetwp/set_options/slider)
  • Fix: slider labels disappearing on pages with multiple sliders
  • Updated admin logo

1.8.4

  • New: added home_url() to debug info for Support requests
  • New: pager data is included in AJAX response (FWP.settings.pager)
  • New: $facet property within the indexer class
  • Improved: admin settings page preloader
  • Updated translations

1.8.3

  • Fix: incorrect counts for checkboxes in “OR” mode
  • New: tooltips on admin Templates page

1.8.2

  • Fix: issue with search facet and SearchWP engine labels
  • Fix: `facetwp_filtered_post_ids` filter wasn’t firing under certain conditions
  • Improved: load support iframe only when Support tab is clicked
  • Removed old migrate page code
  • Replaced all instances of $facetwp with FWP()
  • Admin styling tweaks

1.8.1

  • Fix: empty() doesn’t support functions until PHP 5.5

1.8.0

  • New: German translation (props Marie Hoppe & Agentur Herzstück)
  • New: now using HelpScout for support (email-based)
  • New: email support is now embedded within FacetWP admin
  • New: “Placement Text” option for search facets
  • New: get_uri() method in class-helper.php
  • Improved: use WP 4.0’s `$wpdb->esc_like()` if available
  • Improved: moved import / export into the Settings tab

1.7.8

  • Fix: indexer resume feature
  • Improved: replaced transients due to rare caching issues (WP Engine)

1.7.7

  • Fix: decimal issue with slider facet type
  • Fix: only display “Renew license” message when approaching expiration
  • Fix: prevent index table from getting wiped on indexer resume (props Roger Los)
  • Improved: better tooltip library
  • Improved: indexer progress is calculated more frequently

1.7.6

  • New: “Post Title” Data Source option
  • New: FWP.load_from_hash() javascript method
  • Upgraded jQuery Autocomplete
  • Upgraded noUiSlider
  • Updated translations

1.7.5

  • New: slider “format” option
  • New: slider “prefix” option
  • New: date range option to show “Start Date”, “End Date”, or both
  • Improved: better admin conditional fields support
  • Fix: `facetwp_render_output` not triggering when sorting or paginating
  • Upgraded noUiSlider
  • Upgraded Bootstrap Datepicker
  • Upgraded jQuery Autocomplete
  • Updated sample content
  • Updated translations

1.7.4

  • New: `facetwp_load_css` filter
  • New: `facetwp_facet_where` filter
  • New: `facetwp_is_main_query` filter
  • Improved: site default `posts_per_page` is used when omitted in Query Arguments
  • Improved: better support for auto-detecting main queries (with CSS template method)
  • Fix: PHP notice when using FWP.reset() with autocomplete facets
  • Fix: enforce array return value for dropdown facets
  • Added plugin functions file
  • Updated translations

1.7.3

  • Fix: no results on search page when using SearchWP

1.7.2

  • Fix: undefined $offset notice during indexing
  • New: selections box support for custom facet types
  • Improved: admin design

1.7.1

  • New: automatically resume indexing when stalled
  • Changed: sort box takes precedence over search result ordering
  • Changed: search facet uses the new SearchWP singleton
  • Fix: max_execution_time should only be set during indexing
  • Fix: load assets when a FacetWP template is present, even without facets
  • Fix: force-refresh assets when FacetWP version changes

1.7.0

  • New: supports any template that uses the class “facetwp-template”
  • New: dropdown option to customize “Any” value

1.6.1

  • Fix: (checkboxes) sorting of hierarchical taxonomies
  • FIx: PHP notice with search facets (props @knomat)

1.6.0

  • New: FWP() function to access class methods
  • New: support for custom AJAX loading indicator (`FWP.loading_handler`)
  • Fix: error handling for `FWP()->helper->load_settings()`
  • Fix: WPML issue when indexing multiple languages
  • Fix: `array_orderby` issue with PHP 5.3 / WP Engine

1.5.2

  • Fix: slider facets default to using `facet_display_value`
  • Fix: checkbox facet error when no matching post IDs

1.5.1

  • Fix: autocomplete results are now sorted by name (ASC)
  • Fix: date range selections box
  • Fix: slider issue when min = max
  • Fix: ghost checkboxes are no longer clickable
  • Upgraded noUiSlider

1.5.0

  • New: hierarchical checkbox support
  • Changed: added DIVs around date inputs
  • Fix: HTML validation for hierarchy facets
  • Updated translations

1.4.6

  • New: permalink support for the sort box
  • Improved: better settings retrieval
  • Upgraded noUiSlider

1.4.5

  • Fix: rare bug when indexing the value “0”

1.4.4

  • New: new `facetwp_load_assets` filter
  • Fix: replaced `set_time_limit` with `max_execution_time`

1.4.3

  • Fix: checkbox counts
  • Fix: improved slider performance

1.4.2

  • New: ability to disable automatic refresh (see Blog)
  • New: ghost facets (see choices that return 0 results)
  • Fix: incorrect counts for checkbox facets in “OR” mode
  • Fix: slider with the same min / max values
  • Changed: removed dashes around dropdown “Any” option

1.4.1

  • New: new `facetwp_facet_orderby` filter
  • Fix: ensure that jQuery is enqueued
  • Fix: admin settings page height fix (props @jchristopher)
  • Fix: improper date sanitization

1.4.0

  • Improved: better handling of “OR” facets
  • New: Russian language
  • Fix: slider formatting issue
  • Fix: escaped template output
  • Fix: selections shortcode
  • Improved: upgraded to noUiSlider 6.0

1.3.4

  • Improved: FacetWP_Facet->facets now provides more useful context
  • New: French translation (props Nicolas Sarrasin)
  • Fix: translation files not being used

1.3.3

  • New: new `facetwp_filtered_post_ids` filter
  • Fix: indexing of implicit parents should only happen for hierarchy facets
  • Fix: prevented `facetwp_sort_options` from being triggered twice
  • Fix: (rare) PHP warning when no facets are in use

1.3.2

  • New: FWP.reset() javascript method
  • Improved: better logic for dropdown facets
  • Improved: slider labels are now highly configurable
  • Improved: hierarchies are now indexed for all taxonomy values
  • Improved: better handling for the site-wide search
  • Updated translations

1.3.1

  • Improved: fresh admin design
  • Fix: PHP strict notice when no valid shortcodes are detected

1.3.0

  • New: parent category support for dropdown facets
  • New: Spanish translations (props Luis De Pau)
  • Fix: issue with UTF-8 non-breaking spaces in FacetWP templates

1.2.6

  • Improved: permalinks use “#!/” structure for Google indexing
  • Improved: made it easier to override facet HTML
  • Improved: new optional `load_values` facet method
  • Added plugin version to front.js

1.2.5

  • Added: `facetwp_selections_html` filter for customizing selections
  • Added: `facetwp_ajax_response` filter for caching support
  • Added: better tooltips
  • Improved: better support for indexing array values
  • Improved: code cleanup
  • Improved: secondary sort for “Facet Count”
  • Fixed: temporarily removed `wp_enqueue_script` calls due to script timing issues
  • Updated translations

1.2.4

  • Added: new Autocomplete facet type
  • Added: new `facetwp_indexer_query_args` filter to customize which posts get indexed
  • Added: new `facetwp_facet_dropdown_show_counts` filter to toggle dropdown counts
  • Improved: minified JS libraries for faster pageloads
  • Improved: cleanup of AJAX / refresh method
  • Fixed: search facets now adhere to SearchWP result ordering
  • Updated translations

1.2.3

  • Fixed: another debugging bug

1.2.2

  • Added: query debugging support
  • Fixed: minor issue with sort option keys

1.2.1

  • Fixed: issue with non-breaking spaces within Query Arguments area

1.2.0

  • Added: parent term support for checkbox facets
  • Improved: date facet (now using Bootstrap Datepicker)
  • Improved: faster load times – assets only load when needed
  • Fixed: issue with custom fields with special characters
  • Fixed: re-added the `facetwp_pre_filtered_post_ids` hook

1.1.1

  • Added: sorting support
  • Added: new `facetwp_sort_options` hook
  • Added: new `facetwp_sort_html` hook
  • Added: new `facetwp_excluded_custom_fields` hook
  • Improved: pagination is quicker and more efficient
  • Fixed: minor URL permalink issue
  • Fixed: facets appearing when no results
  • Fixed: incorrect results when number_range facet is active
  • Fixed: result count warnings

1.1

  • Added: slider facet type
  • Improved: admin interface refinements
  • Improved: new loading animation based on WP 3.8
  • Improved: cleaner logic for checkbox queries
  • Tested: WordPress 3.8 compatibility
  • Updated translations

1.0.2

  • Fixed: checkbox “AND” operator not filtering correctly
  • Fixed: pagination issue when “posts_per_page” isn’t set (Query Arguments)

1.0.1

  • Fixed: data source setting not saving correctly

1.0

  • Added: support for custom facet types
  • Added: permalinks are now automatically generated for pagination
  • Added: new “facetwp_facet_html” filter
  • Fixed: settings save issue