Skip to main contentSkip to footer

Version 2.2.4.1 of Relevanssi Premium fixes the problems the new Related Posts feature had. Here’s the changelog:

  • It’s now possible to disable thumbnails and titles for related posts.
  • The related posts custom template is looked for in the right place.
  • Metabox buttons work without Gutenberg.
  • Drafts shouldn’t appear in the related posts anymore.
  • Choosing the default thumbnail for related posts is more pleasant now.
  • You can now disable auto-appended related posts for a post.
  • You can disable a post so that it won’t appear as a related post.

This should cover the problems with the Related Posts feature. Any feedback on the feature is most welcome, I’m sure there are still some rough edges that can be improved with feedback from people who use the feature – what kind of settings you’d like to see and so on.

You can get the new version from the Downloads page.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Custom weighing with relevanssi_match and relevanssi_results

posts: add_filter( ‘relevanssi_results’, ‘rlv_dynamic_time_weights’ ); function rlv_dynamic_time_weights( $results ) { array_walk( $results, function( &$weight, $post_id ) { $now = date_create( ‘now’ ); $post_date = date_create( get_the_time( ‘Y-m-d’, $post_id ) ); $diff_days = $now->diff( $post_date, true )->format( ‘%a’ ); if ( $diff_days < 1 ) { $diff_days = 1; } $multiplier……name. * @param int $post_id The post ID. * * @return boolean True, if the post has the term, otherwise false. */ function rlv_has_term( $term, $taxonomy, $post_id ) { global $wpdb, $relevanssi_taxonomy_cache; if ( isset( $relevanssi_taxonomy_cache[ $taxonomy ] ) ) { return isset( $relevanssi_taxonomy_cache[ $taxonomy ][ $term ][ $post_id ]…The relevanssi_match hook lets you modify the matches found for queries. It passes a match object, which has the post id ($match->doc), number of hits found in different parts of the post and the weight assigned to the post ($match->weight). Here’s how Relevanssi calculates the weight: $match->tf = $match->title *…

Index custom field contents
Custom fields (also known as post meta or meta fields) are a major part of WordPress the default search won’t…

Related Posts:

Comment Section:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed