Advertisement
Guest User

Untitled

a guest
Feb 16th, 2013
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. <?php
  2. /**
  3. * The Header for our theme.
  4. *
  5. * Displays all of the <head> section and everything up till <div id="primary">
  6. *
  7. * @package Catch Themes
  8. * @subpackage Simple_Catch_Pro
  9. * @since Simple Catch Pro 1.0
  10. */
  11. ?><!DOCTYPE html>
  12. <!--[if IE 6]>
  13. <html id="ie6" <?php language_attributes(); ?>>
  14. <![endif]-->
  15. <!--[if IE 7]>
  16. <html id="ie7" <?php language_attributes(); ?>>
  17. <![endif]-->
  18. <!--[if IE 8]>
  19. <html id="ie8" <?php language_attributes(); ?>>
  20. <![endif]-->
  21. <!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
  22. <html <?php language_attributes(); ?>>
  23. <!--<![endif]-->
  24. <head>
  25. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  26. <title><?php wp_title( '|', true, 'right' ); ?></title>
  27. <link rel="profile" href="http://gmpg.org/xfn/11" />
  28. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_stylesheet_uri(); ?>" />
  29. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  30. <?php
  31. /**
  32. * Always have wp_head() just before the closing </head>
  33. * tag of your theme, or you will break many plugins, which
  34. * generally use this hook to add elements to <head> such
  35. * as styles, scripts, and meta tags.
  36. */
  37. if (is_home() || is_front_page()) echo '<meta property="og:image" content="http://www.poradnikniemowlaka.pl/wp-content/uploads/2013/02/bebe-md.jpg"/>';
  38.  
  39. wp_head();
  40. ?>
  41. </head>
  42. <body <?php body_class(); ?>>
  43.  
  44. <?php
  45. /**
  46. * simplecatch_before hook
  47. */
  48. do_action( 'simplecatch_before' );
  49. ?>
  50.  
  51. <?php do_action( 'simplecatch_before_header' ); ?>
  52.  
  53. <header id="branding">
  54.  
  55. <div class="top-bg"></div>
  56.  
  57. <div class="wrapper clearfix">
  58. <?php
  59. /**
  60. * simplecatch_before_headercontent hook
  61. */
  62. do_action( 'simplecatch_before_headercontent' );
  63. ?>
  64.  
  65. <div id="header-content" class="clearfix">
  66. <?php
  67. /**
  68. * simplecatch_before_sidebartop hook
  69. *
  70. * @hooked simplecatch_headerdetails - 10
  71. */
  72. do_action( 'simplecatch_before_sidebartop' );
  73. ?>
  74.  
  75. <div id="sidebar-top" class="clearfix">
  76. <?php
  77. /**
  78. * simplecatch_sidebartop hook
  79. *
  80. * @hooked simplecatch_headersocialnetworks - 10
  81. * @hooked get_search_form - 15
  82. */
  83. do_action( 'simplecatch_sidebartop' );
  84. ?>
  85.  
  86. </div> <!-- #sidebar-top -->
  87. <?php
  88. /**
  89. * simplecatch_after_sidebartop hook
  90. */
  91. do_action( 'simplecatch_after_sidebartop' );
  92. ?>
  93.  
  94. </div> <!-- #header-content -->
  95.  
  96. <?php
  97. /**
  98. * simplecatch_after_headercontent hook
  99. *
  100. * @hooked simplecatch_menu - 10
  101. * @hooked simplecatch_slider_display - 15
  102. * @hooked simplecatch_breadcrumb_display - 20
  103. */
  104. do_action( 'simplecatch_after_headercontent' );
  105. ?>
  106.  
  107. </div><!-- .wrapper-->
  108.  
  109. </header><!-- #branding -->
  110.  
  111. <?php do_action( 'simplecatch_after_header' ); ?>
  112.  
  113. <?php
  114. /**
  115. * simplecatch_before_main hook
  116. */
  117. do_action( 'simplecatch_before_main' );
  118. ?>
  119.  
  120. <div id="main" class="wrapper clearfix">
  121.  
  122. <?php
  123. /**
  124. * simplecatch_above_primary hook
  125. */
  126. do_action( 'simplecatch_above_primary' );
  127. ?>
  128.  
  129. <div id="primary">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement