Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Last active November 4, 2015 02:26
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/7ee4af9f2ac08899aa53 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/7ee4af9f2ac08899aa53 to your computer and use it in GitHub Desktop.
Rewrite the content of the site header with Genesis
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Rewrite the content of the site header with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/rewrite-header/
*/
remove_action( 'genesis_header', 'genesis_do_header' );
add_action( 'genesis_header', 'your_function_here' ); // replace your_function_here with your function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment