Change the “Related” Headline in Jetpack’s Related Posts Feature

function kraft_related_posts_headline( $headline ) {
$headline = sprintf(
				'<h3 class="jp-relatedposts-headline"><em>%s</em></h3>',
				esc_html( 'Other Things You Should Read' )
			);
return $headline;
}
add_filter( 'jetpack_relatedposts_filter_headline', 'kraft_related_posts_headline' );

Easy way to switch out the “Related” header that is in the Related Posts module in Jetpack 2.9+.

Comments

Leave a Reply

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)