Continue reading Premium 2.10 / Free 4.8

Premium 2.10 / Free 4.8

…include numbers. Relevanssi init is now moved from priority 10 to priority 1 on the init hook to avoid problems with missing TablePress compatibility. Major fixes Relevanssi didn’t index new comments when they were added; when a post was indexed or the whole index rebuilt, comment content was included. I…After the Summer break, Relevanssi is back with new versions, both to Premium and free. These are mostly small improvements, but when testing the new version, I discovered a bug in the comment indexing that has made Relevanssi not index comments when they are added. I’m not sure why this……now supports date parameters. New feature: Both relevanssi_fuzzy_query and relevanssi_term_where now get the current search term as a parameter. New feature: New filter hook relevanssi_tabs can be used to adjust the tabs in Relevanssi settings page to add, modify or delete the tabs. (Premium) Major fix: The post_relevanssi_related action hook…

Read more Premium 2.10 / Free 4.8 0 Comment on Premium 2.10 / Free 4.8
Continue reading Exact matches for short search terms

Exact matches for short search terms

…add_filter( ‘relevanssi_term_where’, ‘rlv_three_exact_four_fuzzy’, 10, 2 ); function rlv_three_exact_four_fuzzy( $where, $term ) { if ( relevanssi_strlen( $term ) <= 3 ) { $where = “(relevanssi.term = ‘$term’)”; } return $where; } Add this to your site and set Relevanssi to use partial matching in the searching settings. Now searches with search…

Read more Exact matches for short search terms 0 Comment on Exact matches for short search terms