Relevanssi 3.4 was just released. It’s WordPress 4.2 compatible, fixes few small bugs and adds much better meta_query support.
- New filter:
relevanssi_valid_admin_statuscan be used to adjust post statuses that Relevanssi will handle.
- If Relevanssi creates an empty excerpt for a post and there’s a user-set excerpt for the post, that excerpt is used.
- No ellipsis is added to the post excerpt, if the post excerpt shows the whole post.
relevanssi_post_title_before_tokenizefilter now has a second parameter that contains the post object.
- New filter:
relevanssi_display_common_wordscan be used to disable the “25 most common words” listing on the settings page, if it’s too heavy to load.
- Relevanssi was sanitizing taxonomy titles too aggressively. That is now toned down a bit.
- Relevanssi now supports
post_parent__not_in, though you have to set them in
relevanssi_modify_wp_queryfilter for them to work.
- Meta query support should now be perfect; there were some limitations with complicated meta queries before.
3 comments Free 3.4
I updated from 3.3.8 to 3.4 and the search form in the WooCommerce Product Search widget stopped returning results. The products are in the index because they appear when a full search is performed, but not when post_type=product is present. Has anyone else seen the same issue?
Does it work if you change the “post_type” parameter to “post_types”?
Yes, it does work if the “post_type” parameter is switched to “post_types” (i.e. “post_types=product”). Thanks Mikko!