Skip to main contentSkip to footer

In Finnish, we have this lovely little word “murheenkryyni”. It’s originally an euphemism for body lice – you know, to avoid calling a nasty thing with its real name to avoid inviting it in – but has since taken a wider meaning of something that is a constant source of sorrow.

In Relevanssi, that is the auto-update, which broke again in 1.9. I thought I fixed it 1.9.2, but it turns out half of the fix didn’t quite make it to that release. Thus, 1.9.2.1, which should fix this for good. I’m very sorry it is such a struggle to get it right.

Your account

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

Search

Popular Resources

Indexing the post ID
Are post ID’s searchable in Relevanssi? No. Relevanssi does understand the WP_Query p parameter to restrict the search by post…
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,…
Restricting Did you mean suggestions to one post type

Sometimes it may be necessary to restrict the Did you mean suggestions Relevanssi serves to just one post type. There’s no option for that, as by default the Relevanssi database the Did you mean suggestions use as a source (this only applies to Premium, that is) doesn’t have any information……extra MySQL code to restrict the words fetched to a particular post type. Add this code to your theme functions.php to restrict the Did you mean searches (in Premium only) to the current post type restriction: add_filter(‘relevanssi_get_words_query’, ‘rlv_dym_post_type’); function rlv_dym_post_type($q) { global $wpdb, $wp_query; if (isset($wp_query->query_vars[‘post_type’])) $post_type = $wp_query->query_vars[‘post_type’]; if…

Related Posts:

Comment Section:

11 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