…2 ); function rlv_excerpt_parts( $excerpt_text, $excerpt ) { return ‘<span class=”excerpt_part”><span class=”excerpt_source”>’ . $excerpt[‘source‘] . ‘</span>’ . $excerpt[‘text’] . ‘</span>’; } Then add some styles to make it look nicer: .excerpt_part .excerpt_source { display: inline-block; text-transform: uppercase; font-size: 50%; color: #555; margin-right: 20px; padding: 5px; border: thin solid #999; }……to make the excerpt parts stand out from each other, you need to CSS styles. This would be a fairly basic way to do it: span.excerpt_part { display: block; border: thin solid #aaa; margin: 10px; padding: 20px; } If your excerpts include other sources (manually entered post excerpts, comments), Relevanssi……knows that and you can display that information on the search results page: Achieving this is a two-part process. First, add this to your site to modify the excerpt part with the relevanssi_excerpt_part filter to show the source data: add_filter( ‘relevanssi_excerpt_part’, ‘rlv_excerpt_parts’, 10, 2 ); function rlv_excerpt_parts( $excerpt_text, $excerpt )…