Skip to main contentSkip to footer

Thanks to a very eye-opening talk in WordCamp Jyväskylä earlier this year by Otto Kekäläinen from Seravo, Relevanssi code has been reviewed and modified to follow WordPress coding standards. As a result, there have been minor improvements all around the code to make things more robust and secure.

Every new Relevanssi Premium release is now also automatically tested. This should make sure any modifications to the code don’t break any old features. The test suite is still something of a work-in-progress. It’s available on Github if you want to take a look at it. More tests will be added as we come up with things to test, and whenever there’s a problem, we’ll add a test for it to make sure it won’t happen again.

Another good reason to bump up the version number a bit is the addition of new attachment types. Relevanssi can now handle the most common document types.

Update 27.3.2018: Well, looks like automated testing isn’t a perfect solution. Some overzealous security measures made the Network options page break a bit. Version 2.1.1 fixes that.

  • (Premium only.) Attachment indexing has been extended to many more document types: now it should be able to handle most document types, including Office and OpenDocument formats. It’s also slightly faster.
  • (Premium only.) There’s now an option to do attachment reading in an EU-based server.
  • (Premium only.) Attachment file name is not prepended to the excerpts automatically.
  • Custom field detail is no longer serialized. It’s now JSON. If you use custom field detail, rebuild the index and change your code to use json_decode() instead of unserialize().
  • relevanssi_the_tags() and relevanssi_get_the_tags() now have different set of parameters, more in line with the_tags() and get_the_tags().
  • Taxonomy indexing settings were emptied out if you saved another options tab. That is now fixed.
  • Improvements to WPML support; WPML is now less likely to be confused in multisite searches.
  • Updated filter: relevanssi_search_ok now gets the WP_Query object as a parameter, which is helpful if you’re not using the global $wp_query.
  • ACF Flexible Content field indexing didn’t work properly, possibly due to a change in ACF. That should now work better.

Get the latest version from the Download page.

Your account

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

Search

Popular Resources

Divi

excerpts Divi doesn’t use the default excerpts but instead truncates the beginning of the post and shows the first 270 characters. That means Relevanssi-generated excerpts don’t show up at all. However, you can configure Divi to show Relevanssi excerpts. Just enable the “Use excerpts when defined” setting in Divi settings,……and you should see Relevanssi-generated excerpts in the search results pages. Enable the “Use excerpts when defined” setting to see Relevanssi-generated excerpts. Avoiding indexing menus If you have menu blocks inside your posts, Relevanssi will index those menu contents as part of every post with the menu. That’s not very……); add_filter( ‘relevanssi_post_content’, ‘rlv_shortcode_attribute’, 8 ); function rlv_shortcode_attribute( $content ) { return preg_replace( ‘/\ /im’, ‘\1 ‘, $content ); } Dynamic CSS problems If you have problems with broken search results pages when Dynamic CSS and Relevanssi custom excerpts are enabled, one fix is to disable Dynamic CSS for search…

Yoast SEO

Starting from versions 2.4.0 (Premium) and 4.3.0 (Free), Relevanssi doesn’t index posts that have been marked “noindex” in the Yoast SEO settings (“Allow search engines to show this Post in search results?”). If the “noindex” setting is in the default value or set to explicit “yes”, Relevanssi indexes the post….

How to include specific posts
Hello, I’m using WooCommerce and Relevanssi and they work great.My Site Search only searches Products, however I want to let…

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