Elementor
Highlight in documents breaks entrance animations In some cases enabling Relevanssi in-document highlighting breaks pictures with entrance animations. You can add this function to your theme functions.php to fix the problem.
Highlight in documents breaks entrance animations In some cases enabling Relevanssi in-document highlighting breaks pictures with entrance animations. You can add this function to your theme functions.php to fix the problem.
Relevanssi generally works well with Ultimate Member and can be used to search Ultimate Member profiles. Ultimate Member doesn’t do custom profiles, but instead builds upon WordPress user profiles. If you want to change the default /author/ URLs for user profiles in search results to point to the /user/ URLs Ultimate Member uses, that’s easy…
WP Download Manager is a popular file management plugin for WordPress. It’s unfortunately incompatible with Relevanssi attachment content reading out of the box, as Relevanssi expects the attachments to be stored in the Media Library, and WP Download Manager stores the files outside Media Library. Fortunately Relevanssi includes the necessary filter hooks that make it…
This little filter function works on relevanssi_hits_filter. When a search query is made that matches a SKU (or any other custom field, but SKUs are the most likely scenario here), only results that match the SKU will be returned. In order for this to work, Relevanssi must be set to index the _sku custom field…
Someone wanted a way to prioritize posts that are targeting particular Wishlist Member membership level. The basic implementation here is simple: create a relevanssi_hits_filter function that will sort the posts by the level. More information about relevanssi_hits_filter. There’s a trick to this, though, as Wishlist Member does not provide a way to check the level…
Starting from versions 2.4.0 (Premium) and 4.3.0 (Free), Relevanssi doesn’t index posts that have been marked “noindex” in the Yoast SEO settings (“Allow search engines to show this Post in search results?”). If the “noindex” setting is in the default value or set to explicit “yes”, Relevanssi indexes the post. If you want Relevanssi to…
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 is to do both. Blocking…
The Chamber Dashboard Business Directory plugin has a business directory search that’s not compatible with Relevanssi. To disable Relevanssi in those searches, add this to your theme functions.php: add_filter( ‘relevanssi_prevent_default_request’, ‘rlv_allow_chamber_search’, 10, 2 ); function rlv_allow_chamber_search( $prevent, $query ) { if ( isset( $_GET[’searchtext’] ) ) { $prevent = false; } return $prevent; }add_filter( ‘relevanssi_prevent_default_request’,…
Relevanssi works fine with Toolset, thanks to a lot of compatibility code the makers of Toolset have included in it to make it work with Relevanssi. However, everything doesn’t work automatically without modifications. The key thing to notice with Toolset is that query variables and filters don’t work the way you’d expect. Because of the…
Gmedia photo gallery gives a false impression of working with Relevanssi, as you can see the gmedia_tag taxonomy appear in the list of taxonomies: However, if you try to index those tags, you’ll soon notice Relevanssi isn’t actually indexing them. That’s because Gmedia gallery doesn’t use that taxonomy for the tags. The tags are actually…