These versions collect all the bug fixes and small improvements that I ran into during the summer. Next up is Premium 2.16, which will add bigger new features: at the moment I’m looking at developing proximity sorting (ie. show results that are nearest based on coordinates) and better search tracking. These will take some time to develop, though, so I wanted these smaller improvements out first.
New features
- You can add a post type dropdown to
searchformshortcode forms withdropdown='post_type'. - Premium. New filter hook
relevanssi_sku_boostcontrols the WooCommerce_skufield weight boost. - Premium. New filter hook
relevanssi_related_posts_cache_idlets you change the Related posts transient cache ID so allow multiple cached related posts per post. - New filter hook
relevanssi_post_to_excerptlets you filter the post object before an excerpt is created from it. - Premium. New filter hook
relevanssi_custom_fields_before_repeatersfilters the list of custom fields before repeater fields are processed, so you can add fields from code using thefield_%_subfieldnotation. - Relevanssi is now compatible with the Bricks page builder theme (requires Bricks 1.3.2).
Changed behaviour
- Premium. The spam block now returns a 410 Gone status code for blocked pages.
- Premium. The minimum capability for seeing the Gutenberg sidebar or the Relevanssi meta box is changed from
manage_optionstoedit_others_postsin order to allow editors see the sidebar and the meta box. If you prefer the original way, use therelevanssi_sidebar_capabilityfilter hook to adjust.
Minor fixes
- Relevanssi removes HTML comments better from the post content.
- Sometimes the Did you mean would return really weird long suggestions from the search logs. That won’t happen anymore.
- Oxygen compatibility has been improved. Rich text fields and updating posts when they are saved in Oxygen now work better, and revisions are no longer indexed.
- Improved
tax_queryhandling in fringe cases with multiple AND clauses joined together with OR. - Premium. It’s now possible to override global multisite search settings from the
searchblogsquery variable. - Searching without a search term works much better now, you get more posts in the results (default value is up to 500).