Skip to main contentSkip to footer

Version 2.0.5 fixes a nasty bug that made Did you mean suggestions stop working. It also includes couple of fixes and improvements, making life easier and removing some need for template changes.

  • Fixed a bug in “Did you mean” suggestions.
  • Paid Member Subscription shortcode compatibility improved.
  • Indexing works better when there are plenty of excluded posts.
  • Ampersand handling works better in titles.
  • Relevanssi won’t add the highlight parameter to links pointing to the front page anymore (because that makes those links point to the blog page).
  • There’s less need for relevanssi_get_permalink() now, as Relevanssi can adjust the links printed out with get_permalink().
  • The [searchform] shortcode can now take parameters, for example: [searchform post_types="page"] will print out a search form that only searches pages.
  • Small improvement for excerpt-building, thanks to ___ _______.

You can get 2.0.5 from the automatic update system, or you can download from the Download page.

Your account

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

Search

Popular Resources

Debugging Relevanssi searching issues

Relevanssi has plenty of useful filter hooks you can use to debug problems. Here are some examples of how you can use the Relevanssi filter hooks to debug issues. Add the functions one at a time to your site and run a search to see results. First, try the Relevanssi……admin search. Before checking the filters, try the Relevanssi admin search (Dashboard > Admin search). Does that find the correct results? If it does, then the problem is likely with your theme. Use Query Monitor Query Monitor is a superb tool for debugging WordPress behaviour. It’s very useful for debugging…

PostX Pro

If you use PostX Pro to build a search results template using their Post Grid block, you’ll notice that the search results don’t work with Relevanssi enabled. If Relevanssi is active, you get no search results, and if Relevanssi is deactivated, results show up. This problem happens because PostX Pro……Add this function to your site: add_action( ‘pre_get_posts’, function( $query ) { if ( $query->is_search() && isset( $query->query_vars[‘s’] ) ) { $query->set( ‘relevanssi’, true ); } } ); This function is attached to all queries with the pre_get_posts hook. If the query is a search query (the search term parameter……uses WP_Query to fetch the results, and Relevanssi by default blocks the default WP_Query searches – most of the time, they’re useless, as Relevanssi will override the results anyway. In this case, that override does not happen, so you’re left without any results at all. Fortunately, the fix is simple….

User Access Manager
Relevanssi has a conflict with User Access Manager plugin. Both plugins attach to the same `the_posts` filter hook with the…

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