Last active
December 19, 2015 03:39
-
-
Save sirchrispy/5891545 to your computer and use it in GitHub Desktop.
WP: Genesis - Change Header Position
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Reposition the header */ | |
remove_action('genesis_header', 'genesis_header_markup_open', 5); | |
remove_action('genesis_header', 'genesis_do_header'); | |
remove_action('genesis_header', 'genesis_header_markup_close', 15); | |
add_action('genesis_before', 'genesis_header_markup_open', 5); | |
add_action('genesis_before', 'genesis_do_header'); | |
add_action('genesis_before', 'genesis_header_markup_close', 15); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment