Continue reading User Access Manager

User Access Manager

Relevanssi has a conflict with User Access Manager plugin. Both plugins attach to the same `the_posts` filter hook with the same priority, and if UAM runs after Relevanssi, it may cause some issues, like missing excerpts or even broken search results pages. The solution seems simple, however: at least in the one case I’ve run…

Read more User Access Manager 5 Comments on User Access Manager
Continue reading WooCommerce: Hidden products in search

WooCommerce: Hidden products in search

Relevanssi by default shows out-of-stock and excluded from catalogue WooCommerce products in the search results, but hides those set to excluded from search (before 2.2.2 and 4.1.2 the default behaviour was to show all products). It is quite easy to make Relevanssi not display hidden products in the results. The best way is to unindex…

Read more WooCommerce: Hidden products in search 23 Comments on WooCommerce: Hidden products in search
Continue reading Free 3.5.9 / 3.5.9.1

Free 3.5.9 / 3.5.9.1

This update matches Relevanssi Premium 1.15.1 and contains some improvements to how Relevanssi works. The biggest change is the added support for taxonomy queries using field set to name. Here’s the full list of changes: Improved the way highlighting handles HTML tags, especially when highlighting on post pages. The throttle limit setting was removed from…

Read more Free 3.5.9 / 3.5.9.1 0 Comment on Free 3.5.9 / 3.5.9.1
Continue reading Menu problems in multisite search

Menu problems in multisite search

Sometimes multisite searches cause problems in navigation menus. This is caused by pages from another subsite going into the page cache, and then replacing a page in the navigation menu with the same page ID. If you’re having this problem, adding the following code to the theme functions.php should solve the issue.

Read more Menu problems in multisite search 0 Comment on Menu problems in multisite search
Continue reading Indexing usermeta fields in Relevanssi

Indexing usermeta fields in Relevanssi

Relevanssi Premium can index user profiles. Users may have meta fields attached to them: there’s a wp_usermeta database table, even though the user editing interface by default doesn’t have any tools to add meta fields to users. Codex includes documentation on how to use the user meta fields. Read Working with User Metadata for code…

Read more Indexing usermeta fields in Relevanssi 2 Comments on Indexing usermeta fields in Relevanssi
Continue reading Controlling attachment types in index

Controlling attachment types in index

Relevanssi lets you index attachments. But perhaps you only want to index a particular type of attachment? Relevanssi settings don’t have any control over that, it’s either all attachments or nothing. It is possible to choose which kinds of attachments are indexed. It is done with the relevanssi_indexing_restriction filter hook, which lets you control which…

Read more Controlling attachment types in index 16 Comments on Controlling attachment types in index