Skip to main contentSkip to footer

Both free and Premium got updates today. The most important thing in these updates is the improved security: the MySQL queries should be safe now, with all inputs thoroughly escaped.

  • Fixed a bug where excluding posts would cause the search to fail.
  • WPML searches showed each result twice. That’s fixed.
  • Increased plugin safety against hackers.
  • There was a bug in relevanssi_comment_content_to_index filter.
  • Some people had problems with the log entry timestamps. Fixed that.
  • New filter: relevanssi_prevent_default_request gives you more control over where Relevanssi prevents the default query from running.
  • New filter: relevanssi_private_cap lets you set the correct capability for finding private posts in custom post types.
  • The option to exclude categories and tags from search only worked for categories, not tags. Tags have been separated to a different option.

Your account

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

Search

Popular Resources

ACF: Indexing File field title

I use the ACF field type File for a download section, but the displayed file title is not indexing. The format I return the ACF field data is “File Array (array)”. For Relevanssi, it doesn’t matter which ACF return format you choose. Relevanssi doesn’t use get_field() but instead uses the……plain get_post_meta(). That always returns the post ID for File fields. To index the file title, you need to explain what you want using the relevanssi_custom_field_value filter hook. If you wish to the file title, this does the trick: add_filter( ‘relevanssi_custom_field_value’, ‘rlv_file_name’, 10, 2 ); function rlv_file_name( $values, $field )…

Relevanssi indexes excluded posts

…use the Relevanssi admin search (Dashboard > Admin search). If you use the admin search and you’re still getting posts from the wrong post type, you can move on to the next step. If the admin search gets you the correct results but your theme front end search doesn’t, your…Sometimes it can happen the search results include posts from a post type that has been excluded from the index. When that happens, here are things you can check. Are you using Relevanssi? It’s possible your search results are not coming from Relevanssi. The quickest way to check is to……theme search is not using Relevanssi for some reason. Common causes for indexing the wrong post types The most common reason for index including the wrong post type is a shortcode or some other feature that displays posts and confuses Relevanssi. In the case that prompted this post, the search

Disabling Relevanssi
If you need to disable Relevanssi, for example for a particular template, all you need to do is to unhook…

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