function myprefix_move_header_footer_out_of_boxed_layout() { // Remove header/footer remove_action( 'wpex_hook_wrap_top', 'wpex_header' ); remove_action( 'wpex_hook_wrap_bottom', 'wpex_footer' ); // Re-add header/footer add_action( 'wpex_outer_wrap_before', 'wpex_header',…