Skip to content

Snippet: Move Footer Outside of Boxed Layout

function myprefix_move_footer_outside_of_boxed_wrapper() {

	// Remove footer from wrap
	remove_action( 'wpex_hook_wrap_bottom', 'wpex_footer' );

	// Re-add footer after outer wrap
	add_action( 'wpex_outer_wrap_after', 'wpex_footer' );
add_action( 'init', 'myprefix_move_footer_outside_of_boxed_wrapper', 999 );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top