Continue reading SearchWP Live Ajax Search

SearchWP Live Ajax Search

Relevanssi doesn’t ship with a live search feature that would display results as the user types the search terms. There are many other plugins that provide this functionality, but few work with Relevanssi. SearchWP Live Ajax Search is the best one that does. It’s very easy to use, most of the time just install and…

Read more SearchWP Live Ajax Search 0 Comment on SearchWP Live Ajax Search
Continue reading WP All Import compatibility

WP All Import compatibility

By default posts imported with WP All Import do not get indexed by Relevanssi. The importing process does not trigger Relevanssi indexing. That is, however, easy to remedy: add_action(’pmxi_saved_post’, ‘post_saved’, 10, 1); function post_saved($id) { relevanssi_index_doc($id, true, relevanssi_get_custom_fields(), true); }add_action(‘pmxi_saved_post’, ‘post_saved’, 10, 1); function post_saved($id) { relevanssi_index_doc($id, true, relevanssi_get_custom_fields(), true); } Add this code to…

Read more WP All Import compatibility 2 Comments on WP All Import compatibility
Continue reading Conflict with User Access Manager

Conflict with 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 Conflict with User Access Manager 0 Comment on Conflict with User Access Manager
Continue reading bbP Private Groups support

bbP Private Groups support

Private Groups is a plugin that makes bbPress forum groups private. Relevanssi, however, doesn’t understand that privacy and will show those groups in the search results. Relevanssi has means to support this, however, with the help of the relevanssi_post_ok filter. Here’s some code from Mark Wass that makes the private forum posts private in search.…

Read more bbP Private Groups support 0 Comment on bbP Private Groups support
Continue reading Indexing Profile Builder Pro -generated users

Indexing Profile Builder Pro -generated users

Profile Builder Pro is a fine tool for managing user profiles. However, profiles created by Profile Builder Pro front end forms do not get automatically indexed by Relevanssi. This is because of the user account generation process in Profile Builder Pro doesn’t probably trigger all the filter hooks WP does, and thus Relevanssi doesn’t notice…

Read more Indexing Profile Builder Pro -generated users 0 Comment on Indexing Profile Builder Pro -generated users
Continue reading ACF subfields

ACF subfields

If you have subfields or repeater fields in ACF, Relevanssi doesn’t understand the field_%_subfield notation. You can have Relevanssi index subfields by setting the custom field setting to all: that makes Relevanssi index all custom fields, which includes the repeater fields. If you want more control, Simon Wheatley has created Relevanssi: add ACF subfields to…

Read more ACF subfields 7 Comments on ACF subfields
Continue reading Infinite Scroll from Jetpack

Infinite Scroll from Jetpack

Jetpack has Infinite Scroll, which is a pretty cool feature, but unfortunately doesn’t work with Relevanssi on search results pages. Infinite Scroll uses WP_Query to get more posts, and that isn’t compatible with Relevanssi. I’m not aware of a solution that would allow Infinite Scroll to work with Relevanssi. There isn’t enough room for customization…

Read more Infinite Scroll from Jetpack 0 Comment on Infinite Scroll from Jetpack
Continue reading Issues with post order plugins

Issues with post order plugins

If you’re getting low quality results and the weight settings are not affecting the results, the first thing to check is to see if your results are coming from Relevanssi in the first place. That’s easy to check: disable Relevanssi and see if the results change. If the results change, they’re coming from Relevanssi. If…

Read more Issues with post order plugins 0 Comment on Issues with post order plugins
Continue reading Relevanssi and Polylang

Relevanssi and Polylang

DEPRECATED: Starting from Relevanssi Premium 2.0 and the free version 4.0, this is no longer necessary. There’s a setting for this in Relevanssi settings panel, under Searching. Relevanssi has an option that restricts the multilanguage searches to just current language. With Polylang, that setting doesn’t actually do anything. Polylang always restricts the searches to the…

Read more Relevanssi and Polylang 2 Comments on Relevanssi and Polylang
Continue reading Advanced Custom Fields Relationship fields

Advanced Custom Fields Relationship fields

I’m working on a website and i’m use A LOT the Relationship field au ACF. So on my pages are displayed informations of some related custom post. Is there a way to get that working in the search ? With some help from me, the person who asked this question on the WordPress.org support forums…

Read more Advanced Custom Fields Relationship fields 1 Comment on Advanced Custom Fields Relationship fields