<?php
/**
 * Template for displaying the footer
 *
 * Contains the closing of the class=container div and all content
 * after.
 *
 * @package luxuryconceptfree
 */
?>

</div><!-- end wrapper content-->

<div id="sidebar-footer" class="footer-sidebar">
	<div class="footer-sidebar__content">
		<?php get_sidebar( 'footer' ); ?>
	</div>	
</div>

<footer class="footer"> 
  <div class="footer__content">
	
	 <?php if ( has_nav_menu( 'footermenu' ) ) { ?>
      <nav class="footer__nav"> 
            <?php // insert footer menu
            wp_nav_menu(array(
              'theme_location' => 'footermenu',
              'container' => false,
			  'depth' => 1,
			  'menu_class' => 'footer-menu'
              //'items_wrap' => '<ul>%3$s</ul>'
            ));
            ?>
	  </nav> 
     <?php } ?>
	
	<div class="footer__copyright">
			<?php 
			/* translators: %s: Copyright Text */
			$default_footer_copyright = sprintf( __( '- Powered By <a href="%s" target="_blank">WordPress</a> | ', 'luxuryconceptfree' ), 'https://wordpress.org' );
			/* translators: %s: Copyright Developer */
			$default_footer_copyright .= sprintf( __( 'Theme: <a href="%s" target="_blank"><b>Luxury Concept</b></a> - ', 'luxuryconceptfree' ), 'https://luxuryconcept.website' );
			/* translators: %s: Author Text */
			$default_footer_copyright .= sprintf( __( 'Developed By <a href="%s" target="_blank">Stefano Fattori</a> ', 'luxuryconceptfree' ), 'https://stefanofattori.it' );

			?>	        
			<p class="sma-text-center"><?php esc_html_e('&copy; ', 'luxuryconceptfree'); ?><?php echo esc_html(date("o")) . ' - ';?><?php bloginfo('name'); ?> <?php echo (esc_attr(get_theme_mod( 'luxuryconceptfree_footer_copyright_text', '')) != '') ? esc_attr(get_theme_mod( 'luxuryconceptfree_footer_copyright_text', '')) : wp_kses( $default_footer_copyright, array('a' => array('href'  => array(),'target' => array(), ), 'b' => array(), ) ); ?> </p>
			<p class="alignright sma-text-center"> <a href="#top"><?php esc_html_e('Top', 'luxuryconceptfree'); ?><i class="icon-arrow-up"></i></a></p>
	</div>
</div>
</footer>

<?php wp_footer();?>

</div> <!-- /MAIN WRAPPER -->
</body>
</html>