Skip to main contentSkip to footer

Relevanssi 3.5 is a major upgrade, with significant new features, small improvements and a couple of bug fixes.

  • Tokenizer was using strlen() and not mb_strlen(), so word lengths were not calculated properly. If your site uses non-ASCII alphabet, rebuilding the index is a good idea.
  • Small improvement to WPML multilanguage filtering.
  • relevanssi_the_title() got a new parameter: if you don’t want to echo the title, you can use it like relevanssi_the_title(false) to make it return the title.
  • Relevanssi had the_title filter hook calls that were missing the second parameter; that’s now fixed.
  • The excerpt-building algorithm is completely rewritten based on work by Ben Boyter.
  • The [watupro] shortcode didn’t work with Relevanssi, so Relevanssi will now bypass it.
  • The plugin i18n features have been improved slightly.
  • New filter: relevanssi_didyoumean_suggestion lets you modify the Did you mean? suggestion before it’s displayed.
  • relevanssi_didyoumean() has a new parameter: you can now choose whether the result is echoed out (the default value) or just returned.
  • In the search results breakdown, you can now use %categories% and %taxonomies% to show the number of matches in categories and taxonomies other than tags and cats, respectively.
  • Relevanssi supports fields parameter (both ids and id=>parent) to return only post IDs or post IDs and post parents.

Your account

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

Search

Popular Resources

CM Tooltip Glossary
A Relevanssi Premium customer bumped into a weird problem with CM Tooltip Glossary (and probably Elementor). Using Elementor, CM Tooltip…
Searching between dates

…$from_date[‘month’], ‘day’ => $from_date[‘day’], ); } // Same for the “to” date. if ( $to_date && checkdate( $to_date[‘month’], $to_date[‘day’], $to_date[‘year’] ) ) { $before = array( ‘year’ => $to_date[‘year’], ‘month’ => $to_date[‘month’], ‘day’ => $to_date[‘day’], ); } // Create the date query array and add the parameter sets to it……) ) { $to_date = date_parse( $_GET[‘to’] ); } $after = null; $before = null; // If the “from” date checks as a valid date, create a parameter set for it. if ( $from_date && checkdate( $from_date[‘month’], $from_date[‘day’], $from_date[‘year’] ) ) { $after = array( ‘year’ => $from_date[‘year’], ‘month’ =>……searches: add_filter( ‘relevanssi_modify_wp_query’, ‘rlv_date_between’ ); function rlv_date_between( $query ) { $from_date = null; $to_date = null; // Get the dates from parameters “from” and “to”, and parse to make sure they are dates. if ( isset( $_GET[‘from’] ) ) { $from_date = date_parse( $_GET[‘from’] ); } if ( isset( $_GET[‘to’]…

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