<?php
/**
* The template to display the copyright info in the footer
*
* @package SPIN
* @since SPIN 1.0.10
*/
// Copyright area
?>
<div class="footer_copyright_wrap
<?php
$spin_copyright_scheme = spin_get_theme_option( 'copyright_scheme' );
if ( ! empty( $spin_copyright_scheme ) && ! spin_is_inherit( $spin_copyright_scheme ) ) {
echo ' scheme_' . esc_attr( $spin_copyright_scheme );
}
?>
">
<div class="footer_copyright_inner">
<div class="content_wrap">
<div class="copyright_text">
<?php
$spin_copyright = spin_get_theme_option( 'copyright' );
if ( ! empty( $spin_copyright ) ) {
// Replace {{Y}} or {Y} with the current year
$spin_copyright = str_replace( array( '{{Y}}', '{Y}' ), date( 'Y' ), $spin_copyright );
// Replace {{...}} and ((...)) on the <i>...</i> and <b>...</b>
$spin_copyright = spin_prepare_macros( $spin_copyright );
// Display copyright
echo wp_kses( nl2br( $spin_copyright ), 'spin_kses_content' );
}
?>
</div>
</div>
</div>
</div>