Guest User

IndyOwls-header

a guest
Mar 12th, 2012
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. Header
  5. Authors: Tyler Cunningham, Trent Lapinski
  6. Creates the theme header.
  7. Copyright (C) 2011 CyberChimps
  8. Version 2.0
  9. */
  10.  
  11. /* Call globals. */
  12.  
  13. global $themename, $themeslug, $options;
  14.  
  15. /* End globals. */
  16.  
  17. ?>
  18. <?php synapse_head_tag(); ?>
  19.  
  20. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <!-- wp_enqueue_script( 'comment-reply' );-->
  21. <?php wp_head(); ?> <!-- wp_head();-->
  22.  
  23. </head><!-- closing head tag-->
  24.  
  25. <!-- Begin @synapse after_head_tag hook content-->
  26. <?php synapse_after_head_tag(); ?>
  27. <!-- End @synapse after_head_tag hook content-->
  28.  
  29. <!-- Begin @synapse before_header hook content-->
  30. <?php synapse_before_header(); ?>
  31. <!-- End @synapse before_header hook content -->
  32.  
  33. <header>
  34. <?php
  35. foreach(explode(",", $options->get('header_section_order')) as $fn) {
  36. if(function_exists($fn)) {
  37. call_user_func_array($fn, array());
  38. }
  39. }
  40. ?>
  41. </header>
  42.  
  43. <!-- Begin @synapse after_header hook -->
  44. <?php synapse_after_header(); ?>
  45. <!-- End @synapse after_header hook -->
Advertisement
Add Comment
Please, Sign In to add comment