Snippet: Move Sidebar Mobile Menu to Top
add_filter( 'totaltheme/mobile/menu/sidr/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 WPCode)