Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created October 14, 2015 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/c068feae6f04a978bb81 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/c068feae6f04a978bb81 to your computer and use it in GitHub Desktop.
Reposition the author box on single posts with Genesis
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Reposition the author box on single posts with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/author-box-single/
*/
remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 );
add_action( 'another_hook', 'genesis_do_author_box_single' );
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Reposition the author box on single Posts with Genesis (XHTML)
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/author-box-single/
*/
remove_action( 'genesis_after_post', 'genesis_do_author_box_single' );
add_action( 'another_hook', 'genesis_do_author_box_single' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment