<?php
/**
 * The template for displaying the footer
 *
 * Contains the opening of the #site-footer div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Always
 * @since 1.0.0
 */ ?>

</div>

<?php if ( is_active_sidebar('always-offcanvas-widget') ): ?>
    <div id="sidr-nav">
        <a class="skip-link-offcanvas-first" href="javascript:void(0)"></a>
        <a class="sidr-offcanvas-close" href="#sidr-nav">
           <span>
               <?php echo esc_html__('Close','always'); ?>
            </span>
        </a>
        <div class="sidr-area">
            <?php dynamic_sidebar('always-offcanvas-widget'); ?>
        </div>
        <a class="skip-link-offcanvas-last" href="javascript:void(0)"></a>
    </div>
<?php endif; ?>

	<?php
	/**
	 * Toogle Contents
	 * @hooked always_header_toggle_search - 10
	 * @hooked always_content_offcanvas - 30
	*/

	do_action('always_before_footer_content_action'); ?>

    <footer id="site-footer" role="contentinfo">
        <?php
        /**
         * Footer Content
         * @hooked always_footer_content_widget - 10
         * @hooked always_footer_content_info - 20
        */

        do_action('always_footer_content_action'); ?>

    </footer>




</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>
