add_action( 'wp_footer', function() { ?>
<script>
( function( $ ) {
'use strict';
$( window ).on( 'load', function() {
var $nav = $( '.mobile-toggle-nav' );
if ( $nav.length ) {
$nav.prepend( '<div class="my-custom-toggle-nav-content container">Your custom html code here.</div>' );
}
} );
} ( jQuery ) );
</script>
<?php }, PHP_INT_MAX );
Snippets: Add Content Above Mobile Toggle Menu
All PHP snippets should be added via a child theme's functions.php file.