Skip to main contentSkip to footer

The version 1.10.13 of Relevanssi Premium fixes bugs, improves compatibility with other plugins and makes numerical search terms work better. It’s a recommended upgrade. These fixes have been part of the free version of Relevanssi for a while now, so they’re well-tested.

  • New filter: relevanssi_comment_content_to_index lets you modify comment content before it’s indexed by Relevanssi (to index comment meta, for example).
  • Facetious support: if post_type is set to -1, Relevanssi will not hang up on it.
  • Numerical search terms work better now.
  • Relevanssi now handles WordPress-created tax_queries better.
  • Support for Polylang broke the support for WPML. That is now fixed.
  • Two deprecated $wpdb->escape() were still left; they’re gone now.
  • Shortcode layerslider was causing problems with Relevanssi; Relevanssi now disables it before building excerpts.
  • Relevanssi won’t break BBPress search anymore.
  • Multisite searches had some issues.

Your account

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

Search

Popular Resources

Redirecting email searches to the login page

A client asked for a solution to redirect all searches for email addresses to the login page – perhaps someone is constantly using the search field when they’re actually looking for the login. This can be achieved with the Redirects tool, as it takes regular expressions. You can also add this……to your site: add_action( ‘template_redirect’, ‘rlv_redirect_emails’ ); function rlv_redirect_emails() { if ( filter_var( get_search_query(), FILTER_VALIDATE_EMAIL ) ) { if ( wp_redirect( ‘https://www.example.com/wp-login.php’ ) ) { exit(); } } } This function would redirect all queries that look like email addresses (based on RFC 822, with some caveats) to the login……) ) { exit(); } } } This function would redirect all queries that look like email addresses (based on RFC 822, with some caveats) to the login page on example.com. There’s nothing Relevanssi-specific about this, this same function will work with any search solution that isn’t an AJAX search….

Indexing HTML comments

By default, Relevanssi does not index HTML comments inside your posts. Relevanssi removes all HTML tags before indexing, and HTML comments (<!– like this –>) are counted as HTML tags. If you have content inside comments that you want to be indexed, you need to modify the punctuation control –…

Martfury
Martfury is a WooCommerce theme that comes with a built-in dropdown search. That’s great, except that as usual the dropdown…

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