PageRenderTime 44ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/footer.php

https://github.com/envex/Micro-Theme
PHP | 123 lines | 27 code | 11 blank | 85 comment | 0 complexity | 7e4c8682a4d6ca5a9756204168d4bce9 MD5 | raw file
  1. <?php
  2. /**
  3. * Footer Template Part File
  4. *
  5. * Template part file that contains the site footer and
  6. * closing HTML body elements
  7. *
  8. * This file is called by all primary template pages
  9. *
  10. * Child Themes can override this template part file globally,
  11. * via "footer.php", or in a given specific context, via
  12. * "footer-{context}.php". For example, to replace this
  13. * template part file on static Pages, a Child Theme would
  14. * include the file "footer-page.php".
  15. *
  16. * @uses micro_after_content() Defined in /inc/hooks.php
  17. * @uses micro_after_footer() Defined in /inc/hooks.php
  18. * @uses micro_after_posts() Defined in /inc/hooks.php
  19. * @uses micro_before_footer() Defined in /inc/hooks.php
  20. * @uses micro_footer() Defined in /inc/hooks.php
  21. * @uses micro_after_posts() Defined in /inc/hooks.php
  22. * @uses upfw_get_template_context() Defined in /admin/functions.php
  23. *
  24. * @link http://codex.wordpress.org/Function_Reference/get_sidebar get_sidebar()
  25. * @link http://codex.wordpress.org/Function_Reference/wp_footer wp_footer()
  26. *
  27. * @package Micro
  28. * @copyright Copyright (c) 2011, UpThemes
  29. * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
  30. *
  31. * @since Micro 1.0
  32. */
  33. global $up_options; ?>
  34. <?php
  35. /**
  36. * Fire the 'micro_after_posts' custom action hook
  37. *
  38. * @param null
  39. * @return mixed any output hooked into 'micro_after_posts'
  40. */
  41. micro_after_posts();
  42. ?>
  43. </div> <!-- #content -->
  44. <?php
  45. /**
  46. * Fire the 'micro_after_content' custom action hook
  47. *
  48. * @param null
  49. * @return mixed any output hooked into 'micro_after_content'
  50. */
  51. micro_after_content();
  52. ?>
  53. <?php
  54. /**
  55. * Include the sidebar template part file
  56. *
  57. * Calls the sidebar template part file.
  58. *
  59. * Codex reference: http://codex.wordpress.org/Function_Reference/get_sidebar
  60. *
  61. * Child Themes can replace this template part file globally,
  62. * via "sidebar.php", or in a specific context only, via
  63. * "sidebar-{context}.php"
  64. */
  65. get_sidebar( upfw_get_template_context() );
  66. ?>
  67. </div><!-- .container -->
  68. <?php
  69. /**
  70. * Fire the 'micro_before_footer' custom action hook
  71. *
  72. * @param null
  73. * @return mixed any output hooked into 'micro_before_footer'
  74. */
  75. micro_before_footer();
  76. ?>
  77. <?php
  78. /**
  79. * Fire the 'micro_footer' custom action hook
  80. *
  81. * @param null
  82. * @return mixed any output hooked into 'micro_footer'
  83. */
  84. micro_footer();
  85. ?>
  86. <?php
  87. /**
  88. * Fire the 'micro_after_footer' custom action hook
  89. *
  90. * @param null
  91. * @return mixed any output hooked into 'micro_after_footer'
  92. */
  93. micro_after_footer();
  94. ?>
  95. <?php
  96. /**
  97. * Fire the 'wp_footer' action hook
  98. *
  99. * Codex reference: {@link http://codex.wordpress.org/Hook_Reference/wp_footer wp_footer}
  100. *
  101. * This hook is used by WordPress core, Themes, and Plugins to
  102. * add scripts, CSS styles, meta tags, etc. to the document footer.
  103. *
  104. * MUST come immediately before the closing </body> tag
  105. *
  106. * @param null
  107. * @return mixed any output hooked into 'wp_footer'
  108. */
  109. wp_footer();
  110. ?>
  111. </body>
  112. </html>