footer.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 Independent_Publisher_2
  8. */
  9. ?>
  10. </div><!-- #content -->
  11. <footer id="colophon" class="site-footer" role="contentinfo">
  12. <?php if ( is_active_sidebar( 'sidebar-2' ) || is_active_sidebar( 'sidebar-3' ) || is_active_sidebar( 'sidebar-4' ) ) : ?>
  13. <div class="footer-widgets clear">
  14. <div class="widget-areas">
  15. <?php if ( is_active_sidebar( 'sidebar-2' ) ): ?>
  16. <div class="widget-area">
  17. <?php dynamic_sidebar( 'sidebar-2' ); ?>
  18. </div><!-- .widget-area -->
  19. <?php endif; //is_active_sidebar ?>
  20. <?php if ( is_active_sidebar( 'sidebar-3' ) ): ?>
  21. <div class="widget-area">
  22. <?php dynamic_sidebar( 'sidebar-3' ); ?>
  23. </div><!-- .widget-area -->
  24. <?php endif; //is_active_sidebar ?>
  25. <?php if ( is_active_sidebar( 'sidebar-4' ) ): ?>
  26. <div class="widget-area">
  27. <?php dynamic_sidebar( 'sidebar-4' ); ?>
  28. </div><!-- .widget-area -->
  29. <?php endif; //is_active_sidebar ?>
  30. </div><!-- .widget-areas -->
  31. </div><!-- .footer-widgets -->
  32. <?php endif; ?>
  33. <div class="site-info">
  34. <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'independent-publisher-2' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'independent-publisher-2' ), 'WordPress' ); ?></a>
  35. <span class="sep"> | </span>
  36. <?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'independent-publisher-2' ), 'Independent Publisher 2', '<a href="http://raamdev.com/" rel="designer">Raam Dev</a>' ); ?>
  37. </div><!-- .site-info -->
  38. </footer><!-- #colophon -->
  39. </div><!-- #content-wrapper -->
  40. </div><!-- #page -->
  41. <?php wp_footer(); ?>
  42. </body>
  43. </html>