emusem-press/footer.php

44 lines
1.5 KiB
PHP
Raw Permalink Normal View History

<?php
defined( 'ABSPATH' ) || exit;
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package SemPress
* @since SemPress 1.0.0
*/
?>
</div><!-- #main -->
<footer id="colophon" role="contentinfo">
<div id="site-publisher" itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<meta itemprop="name" content="<?php echo get_bloginfo( 'name', 'display' ); ?>" />
<meta itemprop="url" content="<?php echo esc_url( home_url( '/' ) ); ?>" />
<?php
if ( has_custom_logo() ) {
$image = wp_get_attachment_image_src( get_theme_mod( 'custom_logo' ) );
?>
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="<?php echo current( $image ); ?>" />
<meta itemprop="width" content="<?php echo next( $image ); ?>" />
<meta itemprop="height" content="<?php echo next( $image ); ?>" />
</div>
<?php } ?>
</div>
<div>
<?php get_search_form(); ?>
</div>
<div>
<?php printf( __( 'This site uses the <a rel="external" href="https://giteacoffee.emucafe.org/naferrell/emusem-press">Emusem Press</a> child theme of <a rel="external" href="https://github.com/pfefferle/SemPress">SemPress</a>. <br> Emusem Press is maintained by <a rel="external" href="https://thenewleafjournal.com/author/naferrell">Nicholas A. Ferrell</a>.' ) ); ?>
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>