Advertisement
Guest User

Untitled

a guest
Jan 11th, 2017
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.33 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head>
  4.     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  7.  
  8.     <title><?php ui::title(); ?></title>
  9.  
  10.     <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
  11.     <link href='http://fonts.googleapis.com/css?family=Prata' rel='stylesheet' type='text/css'>
  12.     <link href='http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
  13.    
  14.     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  15.  
  16.     <?php if ( option::get('sidebar_pos') == 'Left' ) { ?><style type="text/css">#sidebar{float:left;margin-right:20px;} #articles, #main {float:right;}</style><?php } ?>
  17.  
  18.     <?php wp_head(); ?>
  19.    
  20.     <script type="text/javascript">
  21.  
  22.   var _gaq = _gaq || [];
  23.   _gaq.push(['_setAccount', 'UA-25818796-9']);
  24.   _gaq.push(['_trackPageview']);
  25.  
  26.   (function() {
  27.     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  28.     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  29.     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  30.   })();
  31.  
  32. </script>
  33. <script>
  34.   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  35.   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  36.   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  37.   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  38.  
  39.   ga('create', 'UA-56568056-1', 'auto');
  40.   ga('send', 'pageview');
  41.  
  42. </script>
  43.  
  44. </head>
  45.  
  46. <body <?php body_class(); ?>>
  47. <div id="fb-root"></div>
  48. <script>(function(d, s, id) {
  49.   var js, fjs = d.getElementsByTagName(s)[0];
  50.   if (d.getElementById(id)) return;
  51.   js = d.createElement(s); js.id = id;
  52.   js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1&appId=785014561508729";
  53.   fjs.parentNode.insertBefore(js, fjs);
  54. }(document, 'script', 'facebook-jssdk'));</script>
  55.  
  56.     <div id="page-wrap">
  57.  
  58.         <div id="main-wrap">
  59.  
  60.             <div id="header">
  61.  
  62.                 <div id="search"><?php get_template_part('searchform'); ?></div>
  63.  
  64.                 <div id="topmenu">
  65.                
  66.                     <?php if (has_nav_menu( 'secondary' )) {
  67.                         wp_nav_menu(array(
  68.                         'container' => '',
  69.                         'container_class' => '',
  70.                         'menu_class' => 'dropdown',
  71.                         'menu_id' => 'nav',
  72.                         'sort_column' => 'menu_order',
  73.                         'theme_location' => 'secondary'
  74.                         ));
  75.                     }  
  76.  
  77.                     if ( option::get('head_rss_show') == 'on' ) { ?> <a href="<?php ui::rss(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/feed.png" alt="RSS" /></a><?php }
  78.                     if ( option::get('head_twitter_show') == 'on' && strlen(option::get('head_twitter_user')) > 1 ) { ?> <a href="http://twitter.com/<?php echo option::get('head_twitter_user'); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/twitter.png" alt="Twitter" /></a><?php }
  79.                     if ( option::get('head_facebook_show') == 'on' && strlen(option::get('head_facebook_url')) > 1 ) { ?> <a href="<?php echo option::get('head_facebook_url'); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/facebook.png" alt="Facebook" /></a><?php }
  80.  
  81.                     ?>
  82.  
  83.                 </div> <!-- /#topmenu -->
  84.                 <div class="clear"></div>
  85.  
  86.                 <div id="logo">
  87.                     <?php if (!option::get('misc_logo_path')) { echo "<h1>"; } ?>
  88.                    
  89.                     <a href="<?php echo home_url(); ?>" title="<?php bloginfo('description'); ?>">
  90.                         <?php if (!option::get('misc_logo_path')) { bloginfo('name'); } else { ?>
  91.                             <img src="<?php echo ui::logo(); ?>" alt="<?php bloginfo('name'); ?>" />
  92.                         <?php } ?>
  93.                     </a><div class="clear"></div>
  94.                    
  95.                     <?php if (!option::get('misc_logo_path')) { echo "</h1>"; } ?>
  96.  
  97.                     <?php if (option::get('logo_desc') == 'on') {  ?><span><?php bloginfo('description'); ?></span><?php } ?>
  98.                 </div><!-- / #logo -->
  99.      
  100.                
  101.                 <?php if (option::get('ad_head_select') == 'on') { ?>
  102.                     <div class="banner banner-head">
  103.  
  104.                     <?php if ( option::get('ad_head_code') <> "") {
  105.                         echo stripslashes(option::get('ad_head_code'));            
  106.                     } else { ?>
  107.                         <a href="<?php echo option::get('ad_head_imgurl'); ?>"><img src="<?php echo option::get('ad_head_imgpath'); ?>" alt="<?php echo option::get('ad_head_imgalt'); ?>" /></a>
  108.                     <?php } ?>     
  109.                     </div><!-- /.adv -->
  110.  
  111.                 <?php } ?>
  112.  
  113.  
  114.                 <div id="mainmenu">
  115.                
  116.                     <?php if (has_nav_menu( 'primary' )) {
  117.                             wp_nav_menu(array(
  118.                             'container' => '',
  119.                             'container_class' => '',
  120.                             'menu_class' => 'dropdown',
  121.                             'menu_id' => 'menu',
  122.                             'sort_column' => 'menu_order',
  123.                             'theme_location' => 'primary'
  124.                             ));
  125.                         }                  
  126.                         else
  127.                             {
  128.                                 echo '<p>Please set your Main navigation menu on the <strong><a href="'.get_admin_url().'nav-menus.php">Appearance > Menus</a></strong> page.</p>
  129.                              ';
  130.                             }
  131.                      
  132.                         ?>
  133.  
  134.                 </div> <!-- /#menu -->
  135.  
  136.             </div> <!--/#header -->
  137.             <div class="clear"></div>
  138.  
  139.             <div id="content-wrap">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement