1. <?php
  2. /**
  3. * Header template used by Eclipse.
  4. *
  5. * Authors: Tyler Cunningham, Trent Lapinski
  6. * Copyright: © 2012
  7. * {@link http://cyberchimps.com/ CyberChimps LLC}
  8. *
  9. * Released under the terms of the GNU General Public License.
  10. * You should have received a copy of the GNU General Public License,
  11. * along with this software. In the main directory, see: /licensing/
  12. * If not, see: {@link http://www.gnu.org/licenses/}.
  13. *
  14. * @package Eclipse.
  15. * @since 1.0
  16. */
  17.  
  18. /* Call globals. */
  19.  
  20. global $ec_themename, $ec_themeslug, $options;
  21.  
  22. /* End globals. */
  23.  
  24. ?>
  25.  
  26. <?php response_head_tag(); ?>
  27.  
  28. <?php wp_head(); ?> <!-- wp_head();-->
  29.  
  30. </head><!-- closing head tag-->
  31.  
  32. <!-- Begin @response after_head_tag hook content-->
  33. <?php response_after_head_tag(); ?>
  34. <!-- End @response after_head_tag hook content-->
  35.  
  36. <!-- Begin @response before_header hook content-->
  37. <?php response_before_header(); ?>
  38. <!-- End @response before_header hook content -->
  39.  
  40. <div class="wrapper">
  41. <header>
  42. <?php
  43. foreach(explode(",", $options->get('header_section_order')) as $fn) {
  44. if(function_exists($fn)) {
  45. call_user_func_array($fn, array());
  46. }
  47. }
  48. ?>
  49. <div style="margin: 0px auto; width: 750px">
  50. <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
  51. </div>
  52. </header>
  53. <!-- Begin @response after_header hook -->
  54. <?php response_after_header(); ?>
  55. <!-- End @response after_header hook -->