function mh_sidebar_nav()
{
    return mh_global_nav();
}
<footer class="main">
	<nav id="footer-nav">
	    	<?php 
echo mh_global_nav(false);
?>
	    
    	<div id="search-wrap">
	    	<?php 
echo mh_simple_search($formProperties = array('id' => 'footer-search'));
?>
	    </div>  
	    
	    <?php 
echo random_item_link();
?>
	
	    
        <div class="social-media">
    		<?php 
echo social_media();
?>
    	</div>
    
    	<ul class="navigation navigation-legal">
	    	<?php 
echo mh_legal_nav();
?>
      	
		</ul>
        
    </nav>