Free 2.9.14
Small fix: Relevanssi will now index pending and future posts. These posts are only shown in the admin search.
Small fix: Relevanssi will now index pending and future posts. These posts are only shown in the admin search.
Relevanssi Premium 1.7.7 fixes a major bug and adds a couple of neat new features. It is a recommended update and a mandatory update, if you use the “hide this post from index” checkbox feature. Fixed a major bug that can make indexing fail when the user has manually chosen to hide posts from the…
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…
When you have problems with Relevanssi, these are the first steps to take: Make sure you have the latest version of Relevanssi. If not, upgrade. Try deactivating the plugin and reactivating it. Are you using Yoast Local SEO? Read this. Try deleting the plugin and reinstalling it from scratch. If that doesn’t help, then approximately…
For some reason setting the post_type query variable to page doesn’t have the desired effect. Other post types (post, custom post types) work, but page doesn’t do anything. This is not a Relevanssi bug, but a WordPress feature (see this trac ticket). If the user inputs a bad value to the post_type query variable, WordPress…
I was told that Relevanssi Premium doesn’t index drafts, even though it should (since 1.6). Looks like the feature has gone missing in some update. Sorry about that. This version reintroduces it. Drafts are automatically indexed and shown in admin searches. I’m also adding the first test version of the declension featured mentioned before. This…
In order to filter search results by category, use the following code: $url = get_bloginfo(’url’); $url = esc_attr(add_query_arg(array(’cat’ => ’10’, ‘s’ => get_search_query()), $url)); echo "<a href=’$url’ rel=’nofollow’>Filter by category 10</a>";$url = get_bloginfo(‘url’); $url = esc_attr(add_query_arg(array(‘cat’ => ’10’, ‘s’ => get_search_query()), $url)); echo "<a href=’$url’ rel=’nofollow’>Filter by category 10</a>"; Put this in your search results…
John Blackbourn wrote a cool related searches feature for Relevanssi Premium. It’s included from version 1.7.4. In order to use the related searches, you must have search logging enabled and a good log of past searches. Then add the following code to your search results template in a suitable place: The first parameter is the…
I got a bug notice, which I decided to fix right away. I also added couple of small features while I was at it. Fixed a bug related that caused AND queries containing short search terms to fall back to OR searches. The relevanssi_match filter now gets the IDF as an additional parameter to make…
Lots of bug fixes and couple of neat new features in this version. Cache truncation was never actually scheduled. Index wasn’t updated properly when post status was switched from public to private. Made the relevanssi_hide_post custom field invisible. Added an option to hide the Relevanssi post controls metabox on edit pages. Fixed a bug that…