skip to Main Content

Move Sidebar Mobile Menu to Top

add_filter( 'wpex_mobile_menu_source', function( $array ) {
	$get_nav = $array['nav']; // store nav
	unset( $array['nav'] ); // remove nav
	$array['nav'] = $get_nav; // re add nav at bottom
	return $array;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top