How to display multiple authors in Otter's Posts Block

Since 2.6.3 version of Otter Blocks, there is a filter that allows you to customize the response of Post Block's Author field. You can use the ` otter_blocks_posts_author` filter.

For example, suppose you want to display multiple authors using the Co-Authors Plus plugin, you can use the tags that are available from their documentation in combination to this filter:

add_filter( 'otter_blocks_posts_author', function() {
	$output = ob_get_contents();
	return $output;
} );

Similarly, you can use other Co-Authors plugins to achieve similar results.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us