Skip to main contentSkip to footer

Small maintenance updates to both free and Premium, mostly with the same changes.

Here’s what’s new in both:

  • Fixed a mistake in the FAQ: correct post date parameter is ‘post_date’, not ‘date’.
  • New filter relevanssi_results added. This filter will process an array with (post->ID => document weight) pairs.
  • Private and draft posts were deleted from the index when they were edited. This bug has been fixed. (Thanks to comprock.)
  • When continuing indexing, Relevanssi now tells if there’s more to index. (Thanks to mrose17.)
  • Improved WPML support.
  • The relevanssi_index_doc() function has a new parameter that allows you to bypass global $post and force the function to index the document given as a parameter.

This is only for Free:

  • Stripping shortcodes from excerpts didn’t work properly. Should work now.
  • Fixed problems with searching attachments. Indexing attachments still has some problems. When you build the index, attachments are indexed properly.

See more about relevanssi_results.

You can now call relevanssi_index_doc() directly and have it index a document for you.

  • The first parameter is either the post ID or the complete post object
  • If the second parameter is true, the post is first removed, then added (it’s an update)
  • The third parameter should have the return value of relevanssi_get_custom_fields()
  • If the fourth parameter is true, Relevanssi will not mind the global $post and indexes whatever the first parameter says (otherwise Relevanssi will index the post specified by the global $post).

Your account

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

Search

Popular Resources

bbPress: Indexing topics and replies

Relevanssi does work with BBPress. BBPress forums, topics and replies are regular WordPress posts. In order to get Relevanssi working with BBPress, you need to make Relevanssi index post type topic (forget forum, and I think it’s better if you skip reply as well). Since topic is non-public post type,…

The search form shortcode

Relevanssi includes a search form shortcode that can be used to display a search form. The shortcode is searchform and it was introduced in Relevanssi Premium 2.0 and Relevanssi 4.0. Adding query parameters This shortcode prints out a basic search form. If you want to add additional query parameters, that’s…

WP e-Commerce
WP e-Commerce is a popular shopping cart plugin for WordPress. This code by Alexander Gieg, added to functions.php for example,…

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