Snippets: Move Topbar Under Main Header

function myprefix_move_topbar() {

	// Remove from wrap top
	remove_action( 'wpex_hook_wrap_top', 'wpex_top_bar', 5 );

	// Re-add to header after hook
	add_action( 'wpex_hook_header_after', 'wpex_top_bar' );

}
add_action( 'init', 'myprefix_move_topbar' );

Snippet Type: PHP

Posted Under: Top Bar

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