Snippets: Move Header To Site Footer

// Move Header To Site Footer
function myprefix_move_header_to_footer() {

	// Unhook header
	remove_action( 'wpex_hook_wrap_top', 'wpex_header' );

	// Re-hook header
	// Change priority if you want it after the widget footer
	add_action( 'wpex_hook_wrap_bottom', 'wpex_header', 0 );

}
add_action( 'init', 'myprefix_move_header_to_footer', 99 );

Snippet Type: PHP

Posted Under: Header

All PHP snippets should be added via a child theme's functions.php file.