<?php
/**
 * Template part for displaying the footer content
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WowPress
 */

?>
	<?php if ( is_active_sidebar( 'bottom-widgets' ) ) : ?>
		<aside role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'wowpress' ); ?>">
			<?php dynamic_sidebar( 'bottom-widgets' ); ?>
		</aside>
	<?php endif; ?>
	
<footer id="colophon">


	<?php if ( has_nav_menu( 'menu-2' ) ) : ?>
		<nav aria-label="<?php esc_attr_e( 'Footer Menu', 'wowpress' ); ?>">
			<?php
			wp_nav_menu(
				array(
					'theme_location' => 'menu-2',
					'menu_class'     => 'footer-menu',
					'depth'          => 1,
				)
			);
			?>
		</nav>
	<?php endif; ?>
</footer><!-- #colophon -->