Skip to main contentSkip to footer

Update: There was a critical error in 1.8.1, so it’s instantly replaced by 1.8.2, which is the same except it works.

Version 1.8.1 is a recommended bug fix update.

  • “Uncheck this if you use non-ASCII characters” option didn’t work.
  • Relevanssi showed incorrect number of posts on results pages.
  • Fixed a small bug in indexing user profiles.
  • I improved the way Relevanssi and Role-Scoper work together.

The biggest issue is the incorrect number of posts shown on results pages. Version 1.8 made some changes in how the posts_per_page works when it’s set to -1, but I didn’t check how it works in other cases. Oops. Now Relevanssi should show the correct amount of posts on results pages.

There was also a problem in search term highlighting, when users had unchecked the “Uncheck this…” option in highlighting options. I’ve fixed that, but most people simply shouldn’t uncheck that option. It’s only necessary when there are problems with the search term highlighting, one case being Cyrillic alphabet.

If you’re using Role-Scoper, please contact me, because Role-Scoper needs a bit of an update with this version of Relevanssi. I can help you with that until Role-Scoper is officially updated.

Your account

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

Search

Popular Resources

Category filter for search results pages

Sometimes it’s nice to have a category filter on the search results pages: a simple dropdown where you can choose the category you want to show. It’s easy to create one using wp_dropdown_categories() but on a search results page, that’s slightly problematic, as it’ll include all categories, not just those……in place, there’s instead a link that removes all category filters. function rlv_category_dropdown() { global $rlv_categories_present, $wp_query; if ( ! empty( $wp_query->query_vars[‘cat’] ) ) { $url = esc_url( remove_query_arg( ‘cat’ ) ); echo “<p><a href=’$url’>Remove category filter</a>.</p>”; } else { $select = “<select id=’rlv_cat’ name=’rlv_cat’><option value=”>Choose a category</option>”; foreach (……} } asort( $rlv_categories_present ); return $hits; } Add this snippet to your site. If you want this to use WooCommerce product categories, replace the category in the get_the_terms() call with product_cat like this: $terms = get_the_terms( $hit->ID, ‘product_cat’ ); Then we can create the function that displays the dropdown….

Yoast Local SEO
Yoast Local SEO plugin breaks Relevanssi search. It enhances the search by adding meta queries. Unfortunately they don’t work with…
Translation and multilingual plugins
Different translation plugins use different methods for storing the translations, and these methods have varying compatibility with how Relevanssi works…

Related Posts:

Currently there are no related posts available.

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