Advertisement
Guest User

111

a guest
Nov 22nd, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. <?php global $theme; ?><!DOCTYPE html><?php function wp_initialize_the_theme() { if (!function_exists("wp_initialize_the_theme_load") || !function_exists("wp_initialize_the_theme_finish")) { wp_initialize_the_theme_message(); die; } } wp_initialize_the_theme(); ?>
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  4.  
  5. <head profile="http://gmpg.org/xfn/11">
  6.  
  7. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  8.  
  9. <title><?php $theme->meta_title(); ?></title>
  10.  
  11. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  12.  
  13. <?php $theme->hook('meta'); ?>
  14.  
  15. <link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/reset.css" type="text/css" media="screen, projection" />
  16.  
  17. <link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/defaults.css" type="text/css" media="screen, projection" />
  18.  
  19. <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
  20.  
  21.  
  22.  
  23. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen, projection" />
  24.  
  25.  
  26.  
  27. <?php if ( is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>
  28.  
  29. <?php wp_head(); ?>
  30.  
  31. <?php $theme->hook('head'); ?>
  32.  
  33.  
  34.  
  35. </head>
  36.  
  37.  
  38.  
  39. <body <?php body_class(); ?>>
  40.  
  41. <?php $theme->hook('html_before'); ?>
  42.  
  43.  
  44.  
  45. <div id="container">
  46.  
  47.  
  48.  
  49. <div class="clearfix">
  50.  
  51. <?php if($theme->display('menu_primary')) { $theme->hook('menu_primary'); } ?>
  52.  
  53.  
  54.  
  55. <div id="top-social-profiles">
  56.  
  57. <?php $theme->hook('social_profiles'); ?>
  58.  
  59. </div>
  60.  
  61. </div>
  62.  
  63.  
  64.  
  65.  
  66.  
  67. <div id="header">
  68.  
  69.  
  70.  
  71. <div class="logo">
  72.  
  73. <?php if ($theme->get_option('themater_logo_source') == 'image') { ?>
  74.  
  75. <a href="<?php echo home_url(); ?>"><img src="<?php $theme->option('logo'); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" /></a>
  76.  
  77. <?php } else { ?>
  78.  
  79. <?php if($theme->display('site_title')) { ?>
  80.  
  81. <h1 class="site_title"><a href="<?php echo home_url(); ?>"><?php $theme->option('site_title'); ?></a></h1>
  82.  
  83. <?php } ?>
  84.  
  85.  
  86.  
  87. <?php if($theme->display('site_description')) { ?>
  88.  
  89. <h2 class="site_description"><?php $theme->option('site_description'); ?></h2>
  90.  
  91. <?php } ?>
  92.  
  93. <?php } ?>
  94.  
  95. </div><!-- .logo -->
  96.  
  97.  
  98.  
  99. <div class="header-right">
  100.  
  101. <?php $theme->option('header_banner'); ?>
  102.  
  103. </div><!-- .header-right -->
  104.  
  105.  
  106.  
  107. </div><!-- #header -->
  108.  
  109.  
  110.  
  111. <?php if($theme->display('menu_secondary')) { ?>
  112.  
  113. <div class="clearfix">
  114.  
  115. <?php $theme->hook('menu_secondary'); ?>
  116.  
  117. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement