Better Search v3.0.0 is now available to download or upgrade from the WordPress.org repository. This is one of the largest updates of the plugin and brings several new features including Better_Search_Query which uses WP_Query. It’s more powerful and as easy to use as earlier!
Detailed list of changes in Better Search v3
v3.0.1
- Enhancements/modifications:
- New option to disable the automatic addition of the stylesheet
- Custom search results page now displays
Sort by
andSorted by
- New constant
BETTER_SEARCH_VERSION
that is used to enqueue scripts and styles
- Bug fixes:
- If no
excerpt_length
is passed, the plugin will use the default value from the settings page - Better_Search is only initiated if it is a search results page
- Custom results page excerpt is now highlighted
- If no
v3.0.0
- Features:
- New classes Better_Search_Query and Better_Search. The latter is a wrapper for WP_Query and brings all the power of WP_Query to Better Search. The former is the core class that filters the required functions as well as replaces the older seamless mode implementation
- New settings to search taxonomies, comments, excerpt, meta, authors and comments. These will all return the posts corresponding where the search term is found in the above fields
- New parameter
bydate
if set to true will sort posts by date - Advanced Search form now displays the select dropdown of post types that allows to search a specific post type
- Highlight search terms on pages referred from the search results page
- New stylesheet which is enqueued on search results page and singular posts/pages
- Enhancements/modifications:
hellip
wrapped inbsearch_hellip
span tag for easy access- Transients will be deleted when the plugin is removed
- Bug fixes:
- Resetting settings caused issues for the default styles and color fields
- Uninstalling didn’t delete the option key from database.
- Deprecated:
- PHP 5.x support has been dropped and attempting to install the plugin on these installs will throw errors!
- Multitude of functions have been deprecated. Check the deprecated.php file for the full list. Deprecated functions will also throw up a warning
- Aggressive Search mode has been removed