Here’s how you can disable Relevanssi Light for a particular post type. The example is shop_order from WooCommerce: you’ll need this if you use the legacy order storage. Otherwise, Relevanssi Light will stop the admin order search from working. add_action('init', function() { add_filter( 'posts_search', function( $request, $query ) { if ( 'shop_order' === $query->query['post_type'] )...
Source
Here’s how you can disable Relevanssi Light for a particular post type. The example is shop_order from WooCommerce: you’ll need this if you use the legacy order storage. Otherwise, Relevanssi Light will stop the admin order search from working.
add_action('init', function() {
add_filter( 'posts_search', function( $request, $query ) {
if ( 'shop_order' === $query->query['post_type'] ) {
remove_filter( 'posts_search', 'relevanssi_light_posts_search', 10 );
remove_filter( 'posts_search_orderby', 'relevanssi_light_posts_search_orderby', 10 );
remove_filter( 'posts_request', 'relevanssi_light_posts_request', 10 );
}
return $request;
}, 1, 2 );
}, 11 );
Not logged in. Log in to see your license details.
If you’re using custom post statuses, Relevanssi requires some tinkering. By default, Relevanssi only handles posts that are of status…
If you have events on your site, you might not want to show the past events in the search. This is easy to do with Relevanssi. It can be done in two ways: either you block the past events in indexing or in searching. In most cases, the best solution…
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Removing Relevanssi from the quick edit | 0 | 4.7 | 02-03-2026 |
| 2 | The wrong content gets indexed for a post | 0 | 6.22 | 27-01-2026 |
| 3 | Add more content to the index for Relevanssi Light | 0 | 10 | 20-04-2026 |
| 4 | Premium 2.30 / Free 4.27 | 0 | 11.65 | 12-05-2026 |
| 5 | Voice Search | 0 | 7.34 | 12-05-2026 |
| 6 | La desinfluencer | 0 | 0 | 26-05-2026 |
| 7 | EU Member States (and Google) suddenly want to keep cookie banners! | 0 | 8.63 | 23-06-2026 |
| 8 | Meta ignores the users’ right to easily withdraw consent | 0 | 6.76 | 11-01-2024 |
| 9 | Ads: Meta wants to be 'less illegal' - but much more annoying... | 0 | 7.52 | 12-11-2024 |
| 10 | Рег.решения начнут адаптировать сайты под нейропоиск | 5 | 7 | 05-06-2026 |