Hooks: Add byline before/after headline

Tip (optional):

If you already have a template redirect function in your child theme, you can copy and paste the md_byline hooks inside the function into your preexisting one.

function md_swap_bylines() {
	remove_action( 'md_hook_before_headline', 'md_byline' );
	add_action( 'md_hook_after_headline', 'md_byline' );
}

add_action( 'template_redirect', 'md_swap_bylines' );

Leave a Comment