Home » footer credit code

footer credit code

<?php
/**
* @package Make
*/

/**
* Allow toggling of the footer credit.
*
* @since 1.2.3.
*
* @param bool $show Whether or not to show the footer credit.
*/
$footer_credit = apply_filters( ‘make_show_footer_credit’, true );
?>

<?php if ( make_get_thememod_value( ‘footer-text’ ) || is_customize_preview() ) : ?>
<div class= »footer-text »>
<?php echo make_get_thememod_value( ‘footer-text’ ); ?>
</div>
<?php endif; ?>

<?php if ( true === $footer_credit ) : ?>
<div class= »site-info »>
<?php
printf(
wp_kses(
__( ‘Built with <a class= »theme-name » href= »%s » target= »_blank »>Make</a>. Your friendly small business site builder.’, ‘make’ ),
array( ‘a’ => array( ‘class’ => true, ‘href’ => true, ‘target’ => true ) )
),
‘https://thethemefoundry.com/make/’
);
?>
</div>
<?php endif; ?>