Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created December 16, 2016 19:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellofromtonya/04b1a8199c44f6673f62bfcf4dc84246 to your computer and use it in GitHub Desktop.
Save hellofromtonya/04b1a8199c44f6673f62bfcf4dc84246 to your computer and use it in GitHub Desktop.
remove the byline
add_action( 'loop_start', 'remove_post_byline' );
/**
* Remove the post metadata byline from the HTML markup.
*
* @since 1.0.0
*
* @return void
*/
function remove_post_byline() {
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment