<?php if ( ! empty( get_theme_mod( 'footer_text', '© ' . date( 'Y' ) . ' ' . get_bloginfo( 'name' ) ) )
|| has_nav_menu( 'lsvr-beautyspot-footer-menu' ) ) : ?>
<!-- FOOTER BOTTOM : begin -->
<div class="footer-bottom">
<div class="lsvr-container">
<div class="footer-bottom__inner">
<?php // Add custom code before footer menu
do_action( 'lsvr_beautyspot_footer_menu_before' ); ?>
<?php if ( has_nav_menu( 'lsvr-beautyspot-footer-menu' ) ) : ?>
<!-- FOOTER MENU : begin -->
<nav class="footer-menu">
<?php wp_nav_menu(
array(
'theme_location' => 'lsvr-beautyspot-footer-menu',
'container' => '',
'menu_class' => 'footer-menu__list',
'fallback_cb' => '',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'depth' => 1,
)
); ?>
</nav>
<!-- FOOTER MENU : end -->
<?php endif; ?>
<?php // Add custom code after footer menu
do_action( 'lsvr_beautyspot_footer_menu_after' ); ?>
<?php if ( ! empty( get_theme_mod( 'footer_text', '© ' . date( 'Y' ) . ' ' . get_bloginfo( 'name' ) ) ) ) : ?>
<!-- FOOTER TEXT : begin -->
<div class="footer-text">
<?php echo wpautop(
wp_kses(
str_replace( 'CURRENT_YEAR', date( 'Y' ), get_theme_mod( 'footer_text', '© CURRENT_YEAR ' . get_bloginfo( 'name' ) ) ),
array(
'a' => array(
'href' => array(),
'title' => array(),
'target' => array(),
),
'em' => array(),
'br' => array(),
'strong' => array(),
'span' => array(
'class' => array(),
'style' => array(),
),
'p' => array(),
)
)
); ?>
</div>
<!-- FOOTER TEXT : end -->
<?php endif; ?>
<?php // Add custom code after footer text
do_action( 'lsvr_beautyspot_footer_text_after' ); ?>
</div>
</div>
</div>
<!-- FOOTER BOTTOM : end -->
<?php endif; ?> |