Skip to main contentSkip to footer

I got a very useful bug report yesterday, which prompted me to finish up version 1.7.8. There are some feature requests I didn’t have time to do, but I managed to fix several bugs.

  • Relevanssi indexed user profiles on update, whether the option was checked or not.
  • Relevanssi tried to index taxonomy terms on update, but couldn’t, because there was another bug that prevented it.
  • In some cases stripping tags would cause words to be joined. Tags are now replaced with spaces to make sure that doesn’t happen.
  • Fixed problems with undefined variables.
  • Sometimes text would have non-typical space characters left in it, causing trouble. Relevanssi can now remove those spaces.
  • Relevanssi had some problems with WP-Footnotes plugin, fixed that.
  • New filter relevanssi_modify_wp_query lets you modify $wp_query before it is passed to Relevanssi.

The new filter passes a $wp_query object, which you can then modify before Relevanssi sees it. This can be very useful in some situations.

Please let me know if the new tag stripping function causes you problems.

The relevant bugs will be squished from the free version in the next version, which will be done in couple of days or so.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Flatsome

…can do. First, make sure the “Search Product SKU” setting in Flatsome is disabled. Then set Relevanssi to only index the products, not product variations, but make Relevanssi index variation SKUs for the main product. Then we need to modify the Flatsome Ajax Search function above like this: function rlv_flatsome_search_function(……for posts and pages. If the live search does not work Flatsome has a built-in live search that should work with Relevanssi without modifications, but in case it doesn’t (for example searching for partial SKUs doesn’t work correctly even though it works in the Relevanssi admin search), you can add……query matches a variation SKU, the product permalink is replaced with the variation permalink: add_filter( ‘post_type_link’, ‘rlv_wc_variation_permalink’, 10, 2 ); function rlv_wc_variation_permalink( $permalink, $post ) { global $flatsome_live_search_query, $wp_query; if ( empty( $flatsome_live_search_query ) && isset( $wp_query->query_vars[‘s’] ) ) { $flatsome_live_search_query = $wp_query->query_vars[‘s’]; } if ( ‘product’ === $post->post_type &&…

Related Posts:

Comment Section:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed