<?php if ( get_theme_mod( 'kktfwp_content_width', 'kk-boxed' ) === 'kk-full' && ( kktfwp_social_profiles() !== '' || has_nav_menu( 'footer-menu' ) )) : ?>
<div class="kk-content-footer">
	<div class="kk-inner-footer">
	
		<!-- start footer navigation -->
			<?php wp_nav_menu(
						array(
						'container' => 'nav',
						'container_class' => 'footer-nav',
						'theme_location' => 'footer-menu',
						'depth' => 1,
						'fallback_cb' => false ,
						'walker'=>'' 
						)
			)?>		
		<!-- end footer navigation -->
		
		<?php if ( get_theme_mod( 'kktfwp_menu_style', 'kk-menu-default' ) === 'kk-menu-classic' ) : ?>
		<div class="copyright">
			<?php echo stripslashes( get_theme_mod( 'kktfwp_copyrights' ) ); ?>
		</div>
		<?php endif; ?>
	
		<?php if ( !in_array( get_theme_mod( 'kktfwp_menu_style', 'kk-menu-default' ), array( 'kk-menu-default' ) ) ) : ?>
			<!-- start social -->
			<?php echo kktfwp_social_profiles(); ?>
			<!-- end social -->
		<?php endif; ?>
	</div>
</div>
<?php endif; ?>

<?php if ( get_theme_mod( 'kktfwp_content_width', 'kk-boxed' ) === 'kk-boxed' && get_theme_mod( 'kktfwp_menu_style', 'kk-menu-default' ) === 'kk-menu-classic' && ( kktfwp_social_profiles() !== '' || get_theme_mod( 'kktfwp_copyrights' ) !== '' )) : ?>
<div class="kk-content-footer">
	<div class="kk-inner-footer">	
		<!-- start copyright -->
		<div class="copyright">
			<?php echo stripslashes( get_theme_mod( 'kktfwp_copyrights' ) ); ?>
		</div>
		<!-- end copyright -->
		<!-- start social -->
		<?php echo kktfwp_social_profiles(); ?>
		<!-- end social -->	
	</div>
</div>
<?php endif; ?>