File: /home/capeglid/public_html/wp-content/themes/inspiro/sidebar.php
<?php
/**
* The sidebar containing the main widget area
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Inspiro
* @subpackage Inspiro_Lite
* @since Inspiro 1.0.0
* @version 1.0.0
*/
?>
<aside id="side-nav" class="side-nav" tabindex="-1">
<div class="side-nav__scrollable-container">
<div class="side-nav__wrap">
<div class="side-nav__close-button">
<button type="button" class="navbar-toggle">
<span class="screen-reader-text"><?php esc_html_e( 'Toggle navigation', 'inspiro' ); ?></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<?php if ( has_nav_menu( 'primary' ) ) : ?>
<nav class="mobile-menu-wrapper" aria-label="<?php echo esc_attr_x( 'Mobile Menu', 'menu', 'inspiro' ); ?>" role="navigation">
<?php
wp_nav_menu(
array(
'menu_class' => 'nav navbar-nav',
'theme_location' => 'primary',
'container' => '',
)
);
?>
</nav>
<?php endif ?>
<?php
if ( is_active_sidebar( 'sidebar' ) ) {
dynamic_sidebar( 'sidebar' );
}
?>
</div>
</div>
</aside>
<div class="side-nav-overlay"></div>