Skip to content

Instantly share code, notes, and snippets.

@sirchrispy
Last active December 19, 2015 03:39
Show Gist options
  • Save sirchrispy/5891545 to your computer and use it in GitHub Desktop.
Save sirchrispy/5891545 to your computer and use it in GitHub Desktop.
WP: Genesis - Change Header Position
<?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