Skip to main contentSkip to footer

Next beta in the series that leads to 1.6. This time with new features:

  • New filter relevanssi_do_not_index. Filter is passed a post id and if it returns true, the post will not be indexed.
  • New query variable: use tag or tags to filter results by tag. Both take comma-separated lists of tag ids (not tag slugs or names) and filter results by them (it’s an OR, not AND operation).
  • New filter relevanssi_ellipsis. Use this if you want to change the ‘…’ appended to excerpts.
  • Relevanssi-created excerpts are now passed through the_excerpt and get_the_excerpt filters.
  • Attachments (with post status inherit) couldn’t be found in search. Now they can.
  • Amount of SQL queries made in indexing has been reduced a lot. Less memory should be required. I’d appreciate any reports of changes in the database re-indexing performance.

If you’ve installed 1.5.10.beta, this upgrade should appear in the plugins list. Looks like it works, too. I already know that installing from the more information window doesn’t work.

For future updates you will need an API key. If you’ve logged in, your API key will appear in the sidebar.

Download here.

Your account

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

Search

Popular Resources

Why we don’t offer free trials

…wish. Why does Relevanssi Premium cost as much as it does? Selling Relevanssi Premium is our business and main source of income: it keeps us afloat. That’s simple and something most people will agree with. There are people who question selling software licenses or complain about the prices. You may……from a customer’s site. We could do that if the plugin required an activation code. Relevanssi Premium does use license keys. The keys only control access to upgrades and features that use our resources. Currently, that means the attachment content reading. This happens on our server and uses our resources,……that is to buy a license. If it doesn’t work for you, you can get a refund within 30 days without problems or too many questions (though we would really prefer that if you have problems getting Relevanssi to work, you’d at least give us a chance to fix them…

Yoast Local SEO

Yoast Local SEO plugin breaks Relevanssi search. It enhances the search by adding meta queries. Unfortunately they don’t work with Relevanssi. The fix is simple, though. Add this to the theme functions.php: add_filter( ‘relevanssi_modify_wp_query’, ‘rlv_meta_fix’, 99 ); function rlv_meta_fix( $q ) { $q->set( ‘meta_query’, array() ); return $q; } This…

Indexing HTML comments

…which is responsible for removing the comments – so that the comments are not removed. The solution is simple: add this function to your site and rebuild the index. add_filter( ‘relevanssi_remove_punctuation’, ‘rlv_keep_comments’, 9 ); function rlv_keep_comments( $string ) { $string = str_replace( ‘<!’, ”, $string ); return $string; } This……return $string; } This function attaches itself to the punctuation removal filter hook relevanssi_remove_punctuation and since it has priority 9, it runs before the default punctuation removal which runs on priority 10. This function then simply removes the HTML comment start <!, which causes Relevanssi to not remove the comments….By default, Relevanssi does not index HTML comments inside your posts. Relevanssi removes all HTML tags before indexing, and HTML comments (<!– like this –>) are counted as HTML tags. If you have content inside comments that you want to be indexed, you need to modify the punctuation control –…

Related Posts:

Comment Section:

2 Comments. Leave new

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