footer.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * The template for displaying the footer.
  4. *
  5. * Contains the closing of the #content div and all content after.
  6. *
  7. * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
  8. *
  9. * @package Scratchpad
  10. */
  11. ?>
  12. </div><!-- .wrap -->
  13. </div><!-- #content -->
  14. <footer id="colophon" class="site-footer" role="contentinfo">
  15. <div class="wrap">
  16. <?php if ( is_active_sidebar( 'sidebar-2' ) ) { ?>
  17. <aside id="footer-widgets" class="widget-area" role="complementary">
  18. <div class="grid-container">
  19. <?php dynamic_sidebar( 'sidebar-2' ); ?>
  20. </div>
  21. </aside><!-- #secondary -->
  22. <?php } ?>
  23. <div class="site-info">
  24. <?php get_template_part( 'images/inline', 'line.svg' ); ?>
  25. <?php scratchpad_social_menu(); ?>
  26. <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'scratchpad' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'scratchpad' ), 'WordPress' ); ?></a>
  27. <span class="sep"> | </span>
  28. <?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'scratchpad' ), 'Scratchpad', '<a href="http://wordpress.com/themes/" rel="designer">Automattic</a>' ); ?>
  29. </div><!-- .site-info -->
  30. </div><!-- .wrap -->
  31. </footer><!-- #colophon -->
  32. </div><!-- #page -->
  33. <?php wp_footer(); ?>
  34. </body>
  35. </html>