Skip to content

Instantly share code, notes, and snippets.

@braddalton
Created September 17, 2013 22:09
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 braddalton/6601387 to your computer and use it in GitHub Desktop.
Save braddalton/6601387 to your computer and use it in GitHub Desktop.
Reposition titles before or after featured image
/** Works for Genesis XHTML child themes */
remove_action( 'genesis_post_content', 'genesis_do_post_image' );
add_action( 'genesis_before_post_title', 'genesis_do_post_image' )
/** Works for Genesis 2.0 HTML 5 child themes */
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
add_action( 'genesis_entry_header', 'genesis_do_post_image', 8 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment