themes-wordpress/sketch/footer.php
2018-02-27 14:24:59 +11:00

28 lines
984 B
PHP

<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Sketch
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<?php if ( has_nav_menu ( 'social' ) ) : ?>
<?php wp_nav_menu( array( 'theme_location' => 'social', 'depth' => 1, 'link_before' => '<span class="screen-reader-text">', 'link_after' => '</span>', 'container_class' => 'social-links', ) ); ?>
<?php endif; ?>
<div class="site-info">
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'sketch' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'sketch' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php printf( __( 'Theme: %1$s by %2$s.', 'sketch' ), 'Sketch', '<a href="https://wordpress.com/themes/" rel="designer">WordPress.com</a>' ); ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>