File "footer.php"

Full Path: /home2/sdektunc/cepali.edu.mx/wp-content/themes/hello-elementor/template-parts/footer.php
File size: 619 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * The template for displaying footer.
 *
 * @package HelloElementor
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

$footer_nav_menu = wp_nav_menu( [
	'theme_location' => 'menu-2',
	'fallback_cb' => false,
	'echo' => false,
] );
?>
<footer id="site-footer" class="site-footer" role="contentinfo">
	<?php if ( $footer_nav_menu ) : ?>
		<nav class="site-navigation" role="navigation">
			<?php
			// PHPCS - escaped by WordPress with "wp_nav_menu"
			echo $footer_nav_menu; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
			?>
		</nav>
	<?php endif; ?>
</footer>