Add Custom Links to Post Byline

You can build onto MD’s default byline by hooking in your own content. Use this function to add the current posts category:

function md_child_theme_add_byline() { ?>

	<span class="byline-author byline-item">

		<em>in</em> <span class="links-main"><?php the_category( ' ' ); ?></span>

	</span>

<?php }

add_action( 'md_hook_byline_bottom', 'md_child_theme_add_byline' );

Leave a Comment