PageRenderTime 46ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/footer.php

https://github.com/tomtom10/required-foundation
PHP | 47 lines | 33 code | 2 blank | 12 comment | 2 complexity | 1ac01235a58a07bf1d55be53eb9fa417 MD5 | raw file
  1. <?php
  2. /**
  3. * The template for displaying the footer.
  4. *
  5. * Contains the closing of the class=container div and all content after
  6. *
  7. * @package required+ Foundation
  8. * @since required+ Foundation 0.1.0
  9. */
  10. ?>
  11. <?php
  12. /*
  13. A sidebar in the footer? Yep. You can can customize
  14. your footer with three columns of widgets.
  15. */
  16. if ( ! is_404() )
  17. get_sidebar( 'footer' );
  18. ?>
  19. <div id="footer" class="row" role="contentinfo">
  20. <div class="twelve columns">
  21. <hr />
  22. </div>
  23. <div class="four columns">
  24. <?php do_action( 'required_credits' ); ?>
  25. <p><a href="<?php echo esc_url( __( 'http://wordpress.org/', 'requiredfoundation' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'requiredfoundation' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'requiredfoundation' ), 'WordPress' ); ?></a></p>
  26. </div>
  27. <div class="eight columns">
  28. <?php wp_nav_menu( array(
  29. 'theme_location' => 'secondary',
  30. 'container' => false,
  31. 'menu_class' => 'inline-list right',
  32. 'fallback_cb' => false
  33. ) ); ?>
  34. </div>
  35. </div>
  36. </div><!-- Container End -->
  37. <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
  38. chromium.org/developers/how-tos/chrome-frame-getting-started -->
  39. <!--[if lt IE 7]>
  40. <script defer src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
  41. <script defer>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
  42. <![endif]-->
  43. <?php wp_footer(); ?>
  44. </body>
  45. </html>