Small fix:
- Relevanssi will now index pending and future posts. These posts are only shown in the admin search.
Small fix:
Not logged in. Log in to see your license details.
…pre_option to change the value on the fly. add_filter( ‘pre_option_relevanssi_throttle_limit’, function() { return 50; } ); // Adjust the weight for tags to 20 to make tag matches more important. global $relevanssi_post_type_weights; $relevanssi_post_type_weights = get_option( ‘relevanssi_post_type_weights’ ); $new_weights = $relevanssi_post_type_weights; $new_weights[‘post_tagged_with_post_tag’] = 20; update_option( ‘relevanssi_post_type_weights’, $new_weights ); } add_action( ‘post_relevanssi_related’,……you // have the throttle enabled otherwise, this part is not necessary. global $relevanssi_throttle_enabled; $relevanssi_throttle_enabled = get_option( ‘relevanssi_throttle’ ); if ( empty( $relevanssi_throttle_enabled ) || ‘off’ === $relevanssi_throttle_enabled ) { update_option( ‘relevanssi_throttle’, ‘on’ ); } // This doesn’t need undoing, because we don’t change the option, just use // the……option. You can also add taxonomies, like posts and categories. Using taxonomies requires that Relevanssi indexes the taxonomy; you can adjust that on the Relevanssi indexing settings page. You can choose which post types Relevanssi uses for the related posts. “Matching post type” means that for posts, Relevanssi uses posts…