Relevanssi Premium adds Relevanssi tools to post edit pages and in the quick edit box. If you want to disable these, there’s an option to hide both. But what if you want to keep the Relevanssi tools on the edit pages, but want to remove them from the quick edit? The option removes both, but...
Source
Relevanssi Premium adds Relevanssi tools to post edit pages and in the quick edit box. If you want to disable these, there’s an option to hide both. But what if you want to keep the Relevanssi tools on the edit pages, but want to remove them from the quick edit?
The option removes both, but there’s a solution. The quick edit features are added with the WordPress filter hook quick_edit_custom_box and can be removed by unhooking the Relevanssi function from that hook. You can do this with this little snippet:
add_action( 'init', function() {
remove_filter( 'quick_edit_custom_box', 'relevanssi_quick_edit_custom_box' );
}, 11);Add this to your site, and the quick edit features will be gone.
It’s important to wrap the remove_filter() in the init action, because otherwise this will have no effect if you put this code in your theme. Theme code runs before plugin code, so you’d first remove the filter and then Relevanssi would add it. Relevanssi adds the filter in an init action on priority 10, so the priority 11 on init action is the first possible time to remove it.
Not logged in. Log in to see your license details.
…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……terms that are at most three characters long will use exact matching. The way this works is simple. The relevanssi_term_where filter hook lets you adjust the part of the MySQL query that includes the search term. If the search term is short, instead of doing the default partial search query,…Is is possible to set Relevanssi in a way that it would return only perfect matches for queries up to 3 characters, but any words that starts with the queried term if it has 4 characters or more? – Originally asked here Yes, but it requires a bit of code….
We have a privacy policy that covers your use of this web site and our customer data use. However, if…
Currently there are no related posts available.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Disabling Relevanssi Light for a specific post type | 0 | 9.04 | 20-04-2026 |
| 2 | The wrong content gets indexed for a post | 0 | 6.22 | 27-01-2026 |
| 3 | Premium 2.30 / Free 4.27 | 0 | 11.65 | 12-05-2026 |
| 4 | A New Chapter for Relevanssi | 0 | 10 | 27-03-2026 |
| 5 | comesio solutions – The new home of Relevanssi | 0 | 10 | 27-03-2026 |
| 6 | A New Chapter for Relevanssi – Frontpage | 0 | 10 | 27-03-2026 |
| 7 | Add more content to the index for Relevanssi Light | 0 | 10 | 20-04-2026 |
| 8 | Voice Search | 0 | 7.34 | 12-05-2026 |
| 9 | The media is not attached to a post! | 0 | 5 | 27-06-2026 |
| 10 | Re: Editing a Community Gallery post- adding a new video link not possible? | 0 | 3 | 19-07-2026 |