Skip to main contentSkip to footer

These versions collect all the bug fixes and small improvements that I ran into during the summer. Next up is Premium 2.16, which will add bigger new features: at the moment I’m looking at developing proximity sorting (ie. show results that are nearest based on coordinates) and better search tracking. These will take some time to develop, though, so I wanted these smaller improvements out first.

New features

Changed behaviour

  • Premium. The spam block now returns a 410 Gone status code for blocked pages.
  • Premium. The minimum capability for seeing the Gutenberg sidebar or the Relevanssi meta box is changed from manage_options to edit_others_posts in order to allow editors see the sidebar and the meta box. If you prefer the original way, use the relevanssi_sidebar_capability filter hook to adjust.

Minor fixes

  • Relevanssi removes HTML comments better from the post content.
  • Sometimes the Did you mean would return really weird long suggestions from the search logs. That won’t happen anymore.
  • Oxygen compatibility has been improved. Rich text fields and updating posts when they are saved in Oxygen now work better, and revisions are no longer indexed.
  • Improved tax_query handling in fringe cases with multiple AND clauses joined together with OR.
  • Premium. It’s now possible to override global multisite search settings from the searchblogs query variable.
  • Searching without a search term works much better now, you get more posts in the results (default value is up to 500).

Your account

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

Search

Popular Resources

WooCommerce: Aelia Prices by Country product visibility

…$post = get_post( $post_id ); $post_type = $post->post_type; $product_id = $post->ID; if ( ‘product‘ === $post_type && function_exists( ‘wc_get_product’ ) ) { // Get the product object. $product = wc_get_product( $product_id ); // Check if the product is purchasable. if ( $product && ! $product->is_purchasable() ) { $post_ok = false;……Check if the product is purchasable. if ( $product && ! $product->is_purchasable() ) { $post_ok = false; } } return $post_ok; } This function uses the relevanssi_post_ok filter hook to control which posts are included in the search and the $product->is_purchasable() function to see if the product can be shown….Aelia has a Prices by Country for WooCommerce plugin, which can adjust prices based on customer country and hide products unavailable in a specific country. Jason James shared a function that makes Relevanssi hide unavailable products in search: add_filter( ‘relevanssi_post_ok’, ‘relevanssi_aelia_compatibility’, 10, 2 ); function relevanssi_aelia_compatibility( $post_ok, $post_id ) {…

WPML: Category exclusions
Relevanssi category exclusion setting doesn’t work properly with WPML. Here’s a bit of code from Srdjan Jocić from OnTheGoSystems that…

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