Skip to main contentSkip to footer

Finally, the next beta version is here! This is not recommended for production sites, but I’d appreciate if you could test this. Bunch of new bug fixes and features:

  • If a custom field limitation is set and no matches are found, no results are returned.
  • New filter relevanssi_fuzzy_query. This can be used to change the way fuzzy matches are made.
  • There’s a meta box on post and page edit pages that you can use to exclude posts and pages from search.
  • User profiles couldn’t be found, unless respect exclude_from_search was disabled. I’ve fixed that.
  • OR fallback search had a bug. Fixed that.
  • Custom field searches support phrases. Thanks to davidn.de.
  • Fixed a bug that caused problems when paging search results.
  • get_the_excerpt filters weren’t triggered on excerpt creation. the_excerpt is not used, as it will add unnecessary HTML code to the excerpts.

Get yours from the download page (it’s down in the list of all versions) or use the automatic upgrade feature from the plugin list. If the automatic upgrade doesn’t work, see if the API key have in the plugin settings matches what this web site is saying — there may be a mismatch, thanks to a bug in the API key code I just fixed.

We’re getting closer to the release of 1.6, it might be the next release actually.

Your account

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

Search

Popular Resources

Blocking pre and code tags

…$content = preg_replace( ‘#<pre.*?</pre>#mis’, ”, $content ); $content = preg_replace( ‘#<code.*?</code>#mis’, ”, $content ); return $content; } This will find all <pre> and <code> tags in posts and replace them and their contents with nothing, both when indexing and when building excerpts. This will immediately take effect for excerpts, and…If your posts have lots of programming code examples in <pre> and <code> tags, those might look pretty bad in the search results. A snippet of programming code isn’t usually a good excerpt, and if you use those tags purely for code snippets, they won’t likely contain significant search content,……either. Fortunately it’s easy to completely remove all <pre> and <code> tags and their content both in indexing and excerpt-building. All you need to do is to add the following code to your theme functions.php: add_filter( ‘relevanssi_post_content’, ‘rlv_pre_code’, 10 ); add_filter( ‘relevanssi_excerpt_content’, ‘rlv_pre_code’, 10 ); function rlv_pre_code( $content ) {…

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