footer.php 1014 B

123456789101112131415161718192021222324252627282930313233343536
  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. * @package Pique
  8. */
  9. ?>
  10. </div><!-- #content -->
  11. <footer id="colophon" class="site-footer" role="contentinfo" style="background-image: url('<?php header_image(); ?>')">
  12. <?php get_sidebar( 'footer' ); ?>
  13. <?php
  14. if ( has_nav_menu( 'secondary' ) ) :
  15. wp_nav_menu( array( 'theme_location' => 'secondary', 'depth' => 1, 'container_class' => 'secondary-links', ) );
  16. endif;
  17. ?>
  18. <div class="site-info">
  19. <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'pique' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'pique' ), 'WordPress' ); ?></a>
  20. <span class="sep"> &middot; </span>
  21. <?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'pique' ), 'Pique', '<a href="http://wordpress.com/themes" rel="designer">WordPress.com</a>' ); ?>
  22. </div><!-- .site-info -->
  23. </footer><!-- #colophon -->
  24. </div><!-- #page -->
  25. <?php wp_footer(); ?>
  26. </body>
  27. </html>