Skip to content

Instantly share code, notes, and snippets.

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 generatepress/f6e4c29488fcf36f0e49280f004ac3dc to your computer and use it in GitHub Desktop.
Save generatepress/f6e4c29488fcf36f0e49280f004ac3dc to your computer and use it in GitHub Desktop.
Move the header widget above the floating right navigation
if ( ! function_exists( 'generate_header_items' ) ) :
/**
* Remove the header widget from the header
*/
function generate_header_items()
{
// Site title and tagline
generate_construct_site_title();
// Site logo
generate_construct_logo();
}
endif;
add_action('generate_before_header_content', 'generate_construct_header_widget', 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment