Quick bugfix upgrade:
- Multisite search had bugs. It’s working now.
- Stopwords are not highlighted anymore. Now this feature actually works.
Nothing earth-shaking, but if you’re a multisite user, this upgrade is mandatory. Go download.
Quick bugfix upgrade:
Nothing earth-shaking, but if you’re a multisite user, this upgrade is mandatory. Go download.
Not logged in. Log in to see your license details.
…field type. Add this function to your site to restrict the custom field indexing to only “text” type fields: add_filter( ‘relevanssi_index_custom_fields’, function( $fields ) { $indexed_fields = array(); foreach( $fields as $field ) { $object = get_field_object( $field ); if ( is_array( $object ) && isset( $object[‘type’] ) && ‘text’…On sites where ACF fields are used a lot, with Flexible Content and Repeater fields, it may be difficult to make Relevanssi only index the relevant ACF fields. One way to deal with problem is to set Relevanssi to index “visible” custom fields and then restrict the indexed fields by……$fields as $field ) { $object = get_field_object( $field ); if ( is_array( $object ) && isset( $object[‘type’] ) && ‘text’ === $object[‘type’] ) { $indexed_fields[] = $field; } } return $indexed_fields; } ); To control which field types are included, modify the “if” clause to include more field types….