Term Archive Priority
Current version: 1.2.2
The Term Archive Priority extension is deprecated
Please use a Taxonomy source instead.
The Term Archive Priority Extension will force taxonomy term archive pages to bubble to the top of search results when a match is found. This allows you to search by taxonomy term and have applicable taxonomy archive pages show up within your search results!
This Extension only applies to supplemental search engines.
Out of the box, all supplemental search engines will apply this change when the plugin is active, but you can filter that down to specific supplemental search engines by doing something like the following:
NOTE: by default, Term Archive Priority supports exact taxonomy term matches. If you would like to enable matching of any word within a taxonomy term, use the following filter:
Once activated, you will need to customize your search results loop so as to account for term archive pages in the results. This is a full theme template example outlining how to properly implement the Term Archive Priority Extension:
Changelog
1.2.2
- [Fix] Results handling in some cases
- [Fix] Unwanted application when performing Admin searches in some cases
- [Update] Updated updater
1.2.1
- [Fix] PHP Warning
- [Update] Updated updater
1.2.0
- [New] Support for SearchWP 4
1.1.8
- [New] Support for Live Search
- [Update] Updated updater
1.1.7
- [Fix] Number of arguments passed to
searchwp_term_archive_term_args
- [Fix] Fatal Error when SearchWP is not active
- [Fix] Check for SearchWP core partial matching setting
1.1.6
- [Fix] Fixes an issue with shared taxonomies not appearing in results
1.1.5
- [Fix] Fixes an issue with Live Search integration being too assumptive, it is now opt-in
- [New] New filter
searchwp_term_archive_live_search
to opt in to Live Search integration
1.1.4
- [New] New filter
searchwp_term_archive_term_args
- [Improvement] Better support for Live Ajax Search searches
- [Update] Updated updater
1.1.3
- [Change] Empty terms are no longer ignored by default when using
OR
/%LIKE%
matching - [New] New filter
searchwp_term_archive_term_args
to customizeOR
/%LIKE%
arguments
1.1.2
- [Fix] Fixed an issue with improper results containing terms spanning multiple post types
- [Update] Updated updater
1.1.1
- [Improvement] Better integration with LIKE Terms/Fuzzy Matches for martial term matching
1.1
- [Improvement] Automatic updates based on your SearchWP license key
0.6
- [Improvement] Formatting
0.5
- [Fix] Better offset handling
- [Fix] PHP Warning cleanup
- [Improvement] Results now ordered by the weight of their taxonomy
0.4
- [New] New filter
searchwp_tax_term_or_logic
that allows OR logic in multi-word terms
0.3
- [Fix] Fixed an issue where disabled post types were not taken into account
0.2
- [Fix] Fixed an issue where taxonomies were being set before custom taxonomies were registered
- [Improvement] Consider multi-word terms
0.1
- Initial release