Replace Author HTML (Multiple Author Support)

If you are using a plugin like PublishPress Authors to create posts with multiple authors. Or you just want to change the way authors are formated you can hook into the Kadence Theme to change the author HTML output using a custom filter.

First you need to install the code snippets plugin. Then create a snippet and add the below code.

add_filter( 'kadence_author_meta_output', 'custom_author_by_line' );
function custom_author_by_line( $output ) {
ob_start(); ?>
<span class="posted-by">
<?php do_action('pp_multiple_authors_show_author_box', false, 'inline', false, true); ?>
return ob_get_clean();