<?php
/**
 * The template for displaying the footer
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package News_Viral
 */
?>
</div>
</section>
<!-- main content section -->
<!-- footer -->
<footer id="colophon" class="site-footer">
	<?php if ( is_active_sidebar( 'top-footer' ) ) { ?>
	<!-- top footer -->
	<div class="footer">
		<div class="row">
			<div class="col-lg-12 col-md-12">
				<!-- News letter -->
				<div class="news_letter">
					<div class="suscribe_text text-center">
						<?php dynamic_sidebar('top-footer');  ?>
					</div>
				</div><!-- end News letter -->
			</div>
		</div>
	</div><!-- and top footer -->
	<?php } ?>
	<!-- bottom footer -->
	<div class="footer_bottom">
		<?php if(has_nav_menu('footer-menu')){ ?>
		<div class="row">
			<div class="col-lg-12 col-md-12">
				<!-- footer menu -->
				<div class="footer-socials-borde">
					<?php
						$footer_defaults = array(
                            'theme_location' => 'footer-menu',
                            'menu_class' => 'footer-socials list-inline text-center',
                        );
                        wp_nav_menu($footer_defaults);
                    ?>
				</div><!-- end footer menu -->
			</div>
		</div>
		<?php } ?>
		<div class="row">
			<div class="col-lg-12 col-md-12">
				<!-- footer text area -->
				<div class="design text-center footer_link">
					<?php if(get_theme_mod('Copyright_area_text') != '') : ?>
                        <p><?php echo wp_kses_post(get_theme_mod('Copyright_area_text')); ?></p>
                    <?php endif; ?>
                        <p><?php esc_html_e('&copy; 2018 All Right Reserved. Powered by ','news-viral'); ?>
                        	<a class="devlope" href="<?php echo esc_url("https://piperthemes.com/wordpress-themes/news-viral/"); ?>">
                        		<?php esc_html_e('News Viral WordPress Theme','news-viral'); ?>
                        	</a>
                        </p>
					<a href="#" id="back-to-top" title="Back to top"><i class="fa fa-angle-up"></i><br/><?php esc_html_e('BACK TO TOP','news-viral'); ?></a>
				</div><!-- and footer text area -->
			</div>
		</div>
	</div><!-- and bottom footer -->
</footer><!-- and footer -->
<?php wp_footer(); ?>
</body>
</html>