Skip to main contentSkip to footer

Time for the free version to catch up with Premium. This version is highly recommended to all users of Relevanssi.

  • Choosing which taxonomies to index is now done with an easy-to-use checkbox list.
  • Support for WP Table Reloaded and TablePress. Tables created with these plugins will now be expanded and the content indexed by Relevanssi.
  • New filter: relevanssi_index_comments_exclude can be used to exclude comments from indexing. The filter gets the post ID as a parameter, so you can prevent comments of particular posts being indexed, yet index those posts.
  • Relevanssi now adds spaces between tags when creating excerpts to make neater excerpts from tables and other similar situations.
  • Relevanssi now indexes unattached attachments, if you choose to index attachments.
  • Fixed the problems with Twenty Ten and Twenty Eleven themes better.
  • $match->tag now contains the number of tag hits.
  • Relevanssi now adds relevance score to posts before passing them to relevanssi_hits_filter. You can find it in $post->relevance_score.
  • Tags in breakdowns always showed 0, even though tags were indexed and searched correctly. That’s now fixed.

Your account

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

Search

Popular Resources

Ordering search results by date
I’m building a directory and would like the oldest posts to automatically display first in the search results, is this…
ACF: Indexing ACF fields for taxonomy terms

…field’s contents and adds that to the taxonomy term content. In most basic form, the function looks like this: add_filter( ‘relevanssi_tax_term_additional_content’, ‘rlv_term_fields’, 10, 2 ); function rlv_term_fields( $content, $term ) { $post_id = $term->taxonomy . ‘_’ . $term->term_id; $content .= ‘ ‘ . get_field( ‘category_field’, $post_id ); return $content; }……included in excerpts, though, requiring another function hooked to the relevanssi_pre_excerpt_content hook. However, it’s almost the same as our original function, so with minor changes, we can use the same function for both purposes: add_filter( ‘relevanssi_tax_term_additional_content’, ‘rlv_term_fields’, 10, 2 ); add_filter( ‘relevanssi_pre_excerpt_content’, ‘rlv_term_fields’, 10, 2 ); function rlv_term_fields( $content, $term……First, you have to generate the post ID for the get_field() function. For taxonomy terms, it’s in the format of taxonomy_termID. Then use get_field() to get the field content and add it to the filter’s content variable. With simple text fields, that’s all you need; repeat the get_field() for all…

CodeMirror Blocks
CodeMirror Blocks is a good plugin for displaying good-looking code blocks in WordPress (you can see it in action right…

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