Skip to main contentSkip to footer

It’s been a while since the previous Relevanssi Premium update, and that’s why there’s now a pile of small improvements in Relevanssi. There are no major bugs to fix in this version.

One of the biggest improvements comes to user indexing: that was downright impossible with a large enough user base, as was found out by a Relevanssi Premium customer with more than 16,000 users. Now the users are indexed in smaller steps, which should increase happiness quite a bit.

  • User indexing is now done in steps, after it turned out to be impossible to index 16,000 users at once.
  • New filter: relevanssi_do_not_index_term lets you control whether or not taxonomy terms are indexed.
  • New filter: relevanssi_excerpt_query filters the search query before building excerpts.
  • Fixed filter: relevanssi_custom_field_value didn’t get the post ID correctly.
  • Relevanssi used sanitize_hex_color, which isn’t actually reliably available.
  • Multisite searches didn’t support orderby and order parameters.
  • Did you mean suggestions have been improved.
  • Single-word phrases are not allowed anymore, as they do no good. They are silently converted to non-phrases now.
  • relevanssi_get_permalink doesn’t add the highlight parameter to URLs outside search results pages anymore.
  • Setting post type or post content weight to 0 didn’t work.
  • Search form shortcode echoed out the search form, instead of returning it as it should.
  • Gravity Forms shortcode is now disabled in Relevanssi indexing.
  • ACF repeater field indexing doesn’t break if you try to index multilevel repeaters (that still won’t work, but it won’t break everything either).
  • HTML tags are stripped from post excerpts when using the excerpt to build Relevanssi excerpts.
  • New option: if you choose to hide Relevanssi from post edit pages, you can allow admins to see the Relevanssi post controls.

You can get the new version from the Downloads page or from the WordPress automatic updates.

Your account

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

Search

Popular Resources

CM Tooltip Glossary
A Relevanssi Premium customer bumped into a weird problem with CM Tooltip Glossary (and probably Elementor). Using Elementor, CM Tooltip…
Indexing embedded PDFs for the parent post

…SELECT post_id FROM $wpdb->postmeta WHERE meta_key = ‘_wp_attached_file’ AND meta_value = %s )”, $pdf_url ) ); $content .= $pdf_content; } } return $content; } 3D Flipbook 3D Flipbook has the flipbook post ID as the shortcode parameter, and you can find the attachment post ID in the post meta for……$upload_dir = wp_upload_dir(); foreach ( $matches[1] as $pdf ) { $pdf_url = ltrim( str_replace( $upload_dir[‘baseurl’], ”, urldecode( $pdf ) ), ‘/’ ); $pdf_content = $wpdb->get_var( $wpdb->prepare( “SELECT meta_value FROM $wpdb->postmeta WHERE meta_key = ‘_relevanssi_pdf_content’ AND post_id IN ( SELECT post_id FROM $wpdb->postmeta WHERE meta_key = ‘_wp_attached_file’ AND meta_value = %s……$wpdb->postmeta WHERE meta_key = ‘_relevanssi_pdf_content’ AND post_id = %d”, $data[‘post_ID’] ) ); $content .= $pdf_content; } } return $content; } TNC Flipbook The TNC Flipbook PDF Viewer stores the PDF file name in the tnc_pvfw_pdf_viewer_fields custom field: add_filter( ‘relevanssi_content_to_index’, ‘rlv_pdfviewer_content’, 10, 2 ); function rlv_pdfviewer_content( $content, $post ) { global…

Related Posts

…(Settings > Relevanssi Premium) and go to the Related tab; check the “Enable related posts” checkbox to enable related posts in the first place. To see related posts on your site, you can check the post types you want in the “Automatically add to these post types” settings to have……option. You can also add taxonomies, like posts and categories. Using taxonomies requires that Relevanssi indexes the taxonomy; you can adjust that on the Relevanssi indexing settings page. You can choose which post types Relevanssi uses for the related posts. “Matching post type” means that for posts, Relevanssi uses posts……as related posts, and for pages, Relevanssi uses pages and so on. If you choose another post type, all posts will receive recommendations regardless of type. You can also set the number of related posts shown and choose what happens if Relevanssi doesn’t find enough related posts: you can choose…

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