footer.php 1012 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * The template for displaying the footer.
  4. *
  5. * @package Libretto
  6. */
  7. ?>
  8. <footer id="colophon" class="site-footer" role="contentinfo">
  9. <div class="site-info">
  10. <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'libretto' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s.', 'libretto' ), 'WordPress' ); ?></a>
  11. <?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'libretto' ), 'Libretto', '<a href="https://wordpress.com/themes/" rel="designer">WordPress.com</a>' ); ?>
  12. </div><!-- .site-info -->
  13. <?php
  14. // Prepare social media nav
  15. if ( has_nav_menu( 'social' ) ) : ?>
  16. <div id="social">
  17. <?php wp_nav_menu( array(
  18. 'theme_location' => 'social',
  19. 'link_before' => '<span class="screen-reader-text">',
  20. 'link_after' => '</span>',
  21. 'fallback_cb' => false,
  22. 'depth' => 1,
  23. ) );
  24. ?>
  25. </div><!-- #social -->
  26. <?php endif; ?>
  27. </footer><!-- #colophon -->
  28. <?php wp_footer(); ?>
  29. </body>
  30. </html>