/*
Theme Name: Michelle Child
Template: michelle
Version: 1.0.0
Description: Child theme of Michelle with a customised footer.
*/
<?php
/**
 * Site info / footer credits area (child theme override).
 *
 * @package  Michelle Child
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

?>

<div class="site-info-section site-footer-section">
	<div class="site-info-content site-footer-content">
		<?php

		/** This action is documented in the parent theme. */
		do_action( 'michelle/site_info/before' );

		?>

		<div class="site-info">
			<span class="site-info-item">
				<a href="#top" class="back-to-top">
					<svg class="svg-icon" width="3em" aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><polygon points="8,4.6 1.3,11.3 2.7,12.7 8,7.4 13.3,12.7 14.7,11.3 "/></svg>
					<span class="screen-reader-text"><?php esc_html_e( 'Back to top of the page', 'michelle' ); ?></span>
				</a>
			</span>

			<span class="site-info-item">
				&copy; <?php echo date_i18n( 'Y' ); /* phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped */ ?>
				<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><strong><?php bloginfo( 'name' ); ?></strong></a>
				<?php the_privacy_policy_link( '<span class="sep"> &bull; </span>' . PHP_EOL ); ?>
			</span>
		</div>

		<?php

		/** This action is documented in the parent theme. */
		do_action( 'michelle/site_info/after' );

		?>
	</div>
</div>