Skip to main contentSkip to footer

The main reason to release this new version is to fix a major problem with WordPress 4.9 compatibility. I strongly recommend moving on to WordPress 5 (and Classic Editor, if necessary), but this version removes the problem.

Since there were couple of changes in Relevanssi behaviour included as well, this is a minor update and not just a patch.

Known issues

  • Posts can be excluded from related posts without a reason. Gutenberg saves the _relevanssi_related_not_related custom field even when it’s empty, and the empty field is enough to trigger the exclusion. As a fix, you can remove rows with meta_key of _relevanssi_related_not_related and empty meta_value from the wp_postmeta database table.

Changed behaviour

  • Content stopwords are now applied to the attachment content. Previously they weren’t, as the attachment content is stored in a custom field and not in the post content. However, it makes sense to consider that post content as well, and that’s what Relevanssi now does.
  • Phrases in OR search are now less restrictive. A search for foo "bar baz" used to only return posts with the "bar baz" phrase, but now also posts with just the word foo will be returned. I feel this makes the OR search with phrases behave more like it should.

Major fixes

  • Running Relevanssi Premium version 2.6.1 on WordPress 4.9 caused problems, because a function was called that is only defined when Gutenberg is available. The function call is now also only made when Gutenberg is available.

Minor fixes

  • Relevanssi included results from archived blogs in the multisite search results. Turns out archived blogs are considered public. Now Relevanssi blocks archived blogs like it does spam or deleted blogs.
  • User Access Manager showed drafts in search results for all users. Relevanssi permission checking for UAM is now only applied to public posts, removing this problem.

The free version is available from the WordPress plugin repository. You can get the Premium version from the Download page or with the automatic update.

The download page shows two different versions of the plugin available. The basic version no longer includes tests or anything else you won’t need when actually using the plugin. The developer version includes tests and all sorts of other tooling you may find interesting if you’re a developer.

Your account

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

Search

Popular Resources

Visual Composer: Indexing headings

Relevanssi doesn’t by default index the headings in Visual Composer. The vcex_heading shortcode Visual Composer for the headings stores the heading text inside a shortcode attribute. By default, Relevanssi does not index shortcode attributes. In this case, indexing the shortcode attribute is necessary. Fortunately, it’s easy to fix with a…

WP Download Manager

…these issues. When you upload the files to the Relevanssi attachment reading server, Relevanssi uses the get_attached_file() function to get the file name, but that does not work with WP Download Manager. Thus we need to use the relevanssi_get_attached_file filter hook to provide the file name and path for Relevanssi….…add-on adds an advanced search with the [wpdb_archive_filter] shortcode. That search does not use Relevanssi by default, but it can be modified to make use of Relevanssi with this little function you can add to your site: add_filter( ‘wpdm_packages_query_params’, ‘rlv_use_relevanssi’ ); function rlv_use_relevanssi( $params ) { if ( isset( $params[‘s’]…

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