Skip to main contentSkip to footer

Version 1.13.4 improves the meta query support, and is highly recommended if you need to use complicated meta queries.

  • New filter: relevanssi_valid_admin_status can be used to adjust post statuses that Relevanssi will handle.
  • Meta query support should now be perfect; there were some limitations with complicated meta queries before.

Your account

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

Search

Popular Resources

Taxonomy archive search

This is a Premium feature and only applies when you index taxonomy terms. This does not apply in free Relevanssi. To include taxonomy pages (categories, tags, custom taxonomies) in the search, enable the option on the options page. There’s also the option to choose which taxonomies are included. By default…

WooCommerce: Hidden products in search

Relevanssi by default shows out-of-stock and excluded from catalogue WooCommerce products in the search results, but hides those set to excluded from search (before 2.2.2 and 4.1.2 the default behaviour was to show all products). It is quite easy to make Relevanssi not display hidden products in the results. The……products from the search. This method leads to much faster indexing times. Add this to your site: add_filter( ‘relevanssi_woocommerce_indexing’, ‘rlv_woocommerce_filter’ ); function rlv_woocommerce_filter( $blocks ) { $blocks[‘outofstock’] = true; $blocks[‘exclude-from-catalog’] = true; $blocks[‘exclude-from-search’] = true; return $blocks; } There’s one key for each product visibility level, set the ones you……want to block from the search to true. Older Relevanssi versions and WooCommerce 3 WooCommerce 3 uses taxonomy terms to handle visibility. You can create a relevanssi_do_not_index filter function for these: add_filter( ‘relevanssi_do_not_index’, ‘rlv_wc3_hidden_filter’, 10, 2 ); function rlv_wc3_hidden_filter( $block, $post_id ) { if ( has_term( array( ‘exclude-from-catalog’, ‘exclude-from-search’, ‘outofstock’…

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