Advertisement
Guest User

Untitled

a guest
Oct 25th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2.  
  3. <html <?php language_attributes(); ?>>
  4.  
  5. <head>
  6.  
  7.     <title><?php if ( is_category() ) {
  8.  
  9.         echo 'Category Archive for &quot;'; single_cat_title(); echo '&quot; | '; bloginfo( 'name' );
  10.  
  11.     } elseif ( is_tag() ) {
  12.  
  13.         echo 'Tag Archive for &quot;'; single_tag_title(); echo '&quot; | '; bloginfo( 'name' );
  14.  
  15.     } elseif ( is_archive() ) {
  16.  
  17.         wp_title(''); echo ' Archive | '; bloginfo( 'name' );
  18.  
  19.     } elseif ( is_search() ) {
  20.  
  21.         echo 'Search for &quot;'.wp_specialchars($s).'&quot; | '; bloginfo( 'name' );
  22.  
  23.     } elseif ( is_home() || is_front_page() ) {
  24.  
  25.         bloginfo( 'name' ); echo ' | '; bloginfo( 'description' );
  26.  
  27.     }  elseif ( is_404() ) {
  28.  
  29.         echo 'Error 404 Not Found | '; bloginfo( 'name' );
  30.  
  31.     } elseif ( is_single() ) {
  32.  
  33.         wp_title('');
  34.  
  35.     } else {
  36.  
  37.         echo wp_title( ' | ', false, right ); bloginfo( 'name' );
  38.  
  39.     } ?></title>
  40.  
  41.     <meta name="description" content="<?php wp_title(); echo ' | '; bloginfo( 'description' ); ?>" />
  42.  
  43.     <meta charset="<?php bloginfo( 'charset' ); ?>" />
  44.  
  45.     <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/p7ttm/p7TTMscripts.js"></script>
  46.  
  47.     <link rel="profile" href="http://gmpg.org/xfn/11" />
  48.  
  49.   <link rel="icon" href="<?php bloginfo( 'template_url' ); ?>/favicon.png" type="image/x-icon" />
  50.  
  51.     <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  52.  
  53.     <link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?>" href="<?php bloginfo( 'rss2_url' ); ?>" />
  54.  
  55.     <link rel="alternate" type="application/atom+xml" title="<?php bloginfo( 'name' ); ?>" href="<?php bloginfo( 'atom_url' ); ?>" />
  56.  
  57.     <!-- The HTML5 Shim is required for older browsers, mainly older versions IE -->
  58.  
  59.     <!--[if lt IE 9]>
  60.  
  61.         <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  62.  
  63.     <![endif]-->
  64.  
  65.  
  66.   <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/normalize.css" />
  67.  
  68.     <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  69.  
  70.   <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/prettyPhoto.css" />
  71.  
  72.   <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/grid.css" />
  73.  
  74.   <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/p7ttm/p7TTM01.css" />
  75.  
  76.   <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/p7ttm/p7TTM04.css" />
  77.  
  78.   <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/p7ttm/p7TTM03.css" />
  79.  
  80.  <!--[if lt IE 9]>
  81.  
  82.   <style type="text/css">
  83.  
  84.     a.link, a.more, div.link a, .wp-pagenavi a, .wp-pagenavi span, #commentform #submit, .reply a, div.link-1 a, #header-area-2 a, .map {
  85.  
  86.       behavior:url(<?php bloginfo('stylesheet_directory'); ?>/PIE.php)
  87.  
  88.       }
  89.  
  90.   </style>
  91.  
  92.   <![endif]-->
  93.  
  94.  
  95.  
  96.   <script type="text/javascript">
  97.  
  98.     // initialise plugins
  99.  
  100.         jQuery(function(){
  101.  
  102.             // main navigation init
  103.  
  104.             jQuery('ul.sf-menu').superfish({
  105.  
  106.                 delay:       <?php echo of_get_option('sf_delay'); ?>,      // one second delay on mouseout
  107.  
  108.                 animation:   {opacity:'<?php echo of_get_option('sf_f_animation'); ?>',height:'<?php echo of_get_option('sf_sl_animation'); ?>'}, // fade-in and slide-down animation
  109.  
  110.                 speed:       '<?php echo of_get_option('sf_speed'); ?>',  // faster animation speed
  111.  
  112.                 autoArrows:  <?php echo of_get_option('sf_arrows'); ?>,   // generation of arrow mark-up (for submenu)
  113.  
  114.                 dropShadows: <?php echo of_get_option('sf_shadows'); ?>   // drop shadows (for submenu)
  115.  
  116.             });
  117.  
  118.            
  119.  
  120.             // prettyphoto init
  121.  
  122.             jQuery("a[rel^='prettyPhoto']").prettyPhoto({
  123.  
  124.                 animation_speed:'normal',
  125.  
  126.                 slideshow:5000,
  127.  
  128.                 autoplay_slideshow: false
  129.  
  130.             });
  131.  
  132.            
  133.  
  134.         });
  135.  
  136.        
  137.  
  138.         // Init for audiojs
  139.  
  140.         audiojs.events.ready(function() {
  141.  
  142.             var as = audiojs.createAll();
  143.  
  144.         });
  145.  
  146.   </script>
  147.  
  148.  
  149.  
  150.   <script type="text/javascript">
  151.  
  152.         jQuery(window).load(function() {
  153.  
  154.             // nivoslider init
  155.  
  156.             jQuery('#slider').nivoSlider({
  157.  
  158.                 effect: '<?php echo of_get_option('sl_effect'); ?>',
  159.  
  160.                 slices:<?php echo of_get_option('sl_slices'); ?>,
  161.  
  162.                 boxCols:<?php echo of_get_option('sl_box_columns'); ?>,
  163.  
  164.                 boxRows:<?php echo of_get_option('sl_box_rows'); ?>,
  165.  
  166.                 animSpeed:<?php echo of_get_option('sl_animation_speed'); ?>,
  167.  
  168.                 pauseTime:<?php echo of_get_option('sl_pausetime'); ?>,
  169.  
  170.                 directionNav:<?php echo of_get_option('sl_dir_nav'); ?>,
  171.  
  172.                 directionNavHide:<?php echo of_get_option('sl_dir_nav_hide'); ?>,
  173.  
  174.                 controlNav:<?php echo of_get_option('sl_control_nav'); ?>,
  175.  
  176.                 captionOpacity:<?php $sl_caption_opacity = of_get_option('sl_caption_opacity'); if ($sl_caption_opacity != '') { echo of_get_option('sl_caption_opacity'); } else { echo '0'; } ?>
  177.  
  178.             });
  179.  
  180.         });
  181.  
  182.     </script>
  183.  
  184.   <!-- Custom CSS -->
  185.  
  186.     <?php if(of_get_option('custom_css') != ''){?>
  187.  
  188.   <style type="text/css">
  189.  
  190.     <?php echo of_get_option('custom_css' ) ?>
  191.  
  192.   </style>
  193.  
  194.   <?php }?>
  195.  
  196.  
  197.  
  198.   <style type="text/css">
  199.  
  200.         /* Body styling options */
  201.  
  202.         <?php $background = of_get_option('body_background');
  203.  
  204.             if ($background != '') {
  205.  
  206.                 if ($background['image'] != '') {
  207.  
  208.                     echo 'body { background-image:url('.$background['image']. '); background-repeat:'.$background['repeat'].'; background-position:'.$background['position'].';  background-attachment:'.$background['attachment'].'; }';
  209.  
  210.                 }
  211.  
  212.                 if($background['color'] != '') {
  213.  
  214.                     echo 'body { background-color:'.$background['color']. '}';
  215.  
  216.                 }
  217.  
  218.             };
  219.  
  220.         ?>
  221.  
  222.        
  223.  
  224.     /* Header styling options */
  225.  
  226.         <?php $header_styling = of_get_option('header_color');
  227.  
  228.             if($header_styling != '') {
  229.  
  230.                 echo '#header {background-color:'.$header_styling.'}';
  231.  
  232.             }
  233.  
  234.         ?>
  235.  
  236.        
  237.  
  238.         /* Links and buttons color */
  239.  
  240.         <?php $links_styling = of_get_option('links_color');
  241.  
  242.             if($links_styling) {
  243.  
  244.                 echo 'a{color:'.$links_styling.'}';
  245.  
  246.                 echo '.button {background:'.$links_styling.'}';
  247.  
  248.             }
  249.  
  250.         ?>
  251.  
  252.        
  253.  
  254.         /* Body typography */
  255.  
  256.         <?php $body_typography = of_get_option('body_typography');
  257.  
  258.             if($body_typography) {
  259.  
  260.                 echo 'body {font-family:'.$body_typography['face'].'; color:'.$body_typography['color'].'}';
  261.  
  262.                 echo '#main {font-size:'.$body_typography['size'].'; font-style:'.$body_typography['style'].';}';
  263.  
  264.             }
  265.  
  266.         ?>
  267.  
  268.   </style>
  269.  
  270. <meta name="google-translate-customization" content="2b8325eb5535aa47-a64f33425d4e26dc-ge303d21d5fa3c406-15"></meta>
  271.     <?php
  272.  
  273.         /* We add some JavaScript to pages with the comment form
  274.  
  275.          * to support sites with threaded comments (when in use).
  276.  
  277.          */
  278.  
  279.         if ( is_singular() && get_option( 'thread_comments' ) )
  280.  
  281.             wp_enqueue_script( 'comment-reply' );
  282.  
  283.    
  284.  
  285.         /* Always have wp_head() just before the closing </head>
  286.  
  287.          * tag of your theme, or you will break many plugins, which
  288.  
  289.          * generally use this hook to add elements to <head> such
  290.  
  291.          * as styles, scripts, and meta tags.
  292.  
  293.          */
  294.  
  295.         wp_head();
  296.  
  297.     ?>
  298.  
  299. </head>
  300.  
  301. <body <?php body_class(); ?>>
  302.  
  303. <div id="main"><!-- this encompasses the entire Web site -->
  304.  
  305.  
  306.  
  307.     <header id="header">
  308.  
  309.         <div class="container_12">
  310.  
  311.             <div class="grid_12">
  312.  
  313.          
  314.  
  315.             <div class="logo">
  316.  
  317.                     <?php if(of_get_option('logo_type') == 'text_logo'){?>
  318.  
  319.                         <?php if( is_front_page() || is_home() || is_404() ) { ?>
  320.  
  321.                      <h1><a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>"><?php bloginfo('name'); ?></a></h1>
  322.  
  323.                   <?php } else { ?>
  324.  
  325.                      <h2><a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>"><?php bloginfo('name'); ?></a></h2>
  326.  
  327.                   <?php } ?>
  328.  
  329.                     <?php } else { ?>
  330.  
  331.                   <?php if(of_get_option('logo_url') != ''){ ?>
  332.  
  333.                      <a href="<?php bloginfo('url'); ?>/" id="logo"><img src="<?php echo of_get_option('logo_url', "" ); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('description'); ?>"></a>
  334.  
  335.                   <?php } else { ?>
  336.  
  337.                      <a href="<?php bloginfo('url'); ?>/" id="logo"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('description'); ?>"></a>
  338.  
  339.                   <?php } ?>
  340.  
  341.                <?php }?>
  342.  
  343.                <p class="description"><?php bloginfo('description'); ?></p>
  344.  
  345.             </div>
  346.  
  347.        
  348.  
  349.             <nav class="primary">
  350.  
  351.                     <?php wp_nav_menu( array(
  352.  
  353.                         'container'       => 'ul',
  354.  
  355.                         'menu_class'      => 'sf-menu',
  356.  
  357.                         'menu_id'         => 'topnav',
  358.  
  359.                         'depth'           => 0,
  360.  
  361.                         'theme_location' => 'header_menu'
  362.  
  363.                  ));
  364.  
  365.                ?>
  366.  
  367.             </nav><!--.primary-->
  368.  
  369.        
  370.  
  371.                 <?php if ( of_get_option('g_search_box_id') == 'yes') { ?>  
  372.  
  373.                <form method="get" id="searchform" action="<?php echo get_option('home'); ?>/">
  374.  
  375.                   <input type="text" name="s">
  376.  
  377.                   <input type="submit" value="Search">
  378.  
  379.                </form>
  380.  
  381.             <?php } ?>
  382.  
  383.        
  384.  
  385.             <div id="header-area-1">
  386.  
  387.                     <?php if ( ! dynamic_sidebar( 'Header Area 1' ) ) : ?>
  388.  
  389.                   <!-- Widgetized Header -->
  390.  
  391.                <?php endif ?>
  392.  
  393.             </div><!--#widget-header-->
  394.  
  395.            
  396.  
  397.             <?php /*?><!--<div id="header-area-2">
  398.  
  399.                     <?php
  400.  
  401.                 if ( ! is_user_logged_in() )
  402.  
  403.                             $link = '<a href="' . esc_url( wp_login_url($redirect) ) . '">' . __('Client Login') . '</a>';
  404.  
  405.                         else
  406.  
  407.                             $link = '<a href="' . esc_url( wp_logout_url($redirect) ) . '">' . __('Log out') . '</a>';
  408.  
  409.                         echo apply_filters('loginout', $link);
  410.  
  411.                     ?>
  412.  
  413.             </div>--><?php */?>
  414.  
  415.        
  416.  
  417.          </div>
  418.  
  419.       </div><!--.container-->
  420.  
  421.    </header>
  422.  
  423.    
  424.  
  425.     <?php if( is_front_page() ) { ?>
  426.  
  427.       <section id="slider-wrapper">
  428.  
  429.          <div class="background">
  430.  
  431.             <div class="container_12">
  432.  
  433.                <div class="grid_12">
  434.  
  435.                         <?php include_once(TEMPLATEPATH . '/slider.php'); ?>
  436.  
  437.                </div>
  438.  
  439.             </div>
  440.  
  441.          </div>
  442.  
  443.       </section><!--#slider-->
  444.  
  445.    <?php } ?>
  446.  
  447.    
  448.  
  449.  
  450.  
  451.     <?php if( is_front_page() ) { ?>
  452.  
  453.       <div class="before-content-area">
  454.  
  455.          <div class="container">
  456.  
  457.             <div class="indent">
  458.  
  459.                <div class="wrapper">
  460.  
  461.                   <?php if ( ! dynamic_sidebar( 'Before Content Area' ) ) : ?>
  462.  
  463.                      <!--Widgetized 'Before Content Area' for the home page-->
  464.  
  465.                   <?php endif ?>
  466.  
  467.                </div>
  468.  
  469.             </div>
  470.  
  471.          </div>
  472.  
  473.       </div>
  474.  
  475.    <?php } ?>
  476.  
  477.  
  478.  
  479.     <div class="primary_content_wrap">
  480.  
  481.     <div class="container_12 clearfix">
  482.  
  483.         <div class="grid_12">
  484.  
  485.             <div class="wrapper">
  486.  
  487.            <?php if( is_home() ) { ?>
  488.               <?php if(function_exists('show_media_header')){ show_media_header(); } ?>
  489.             <?php } ?>
  490.  
  491.                 <div class="indent">
  492.  
  493.                 <div class="wrapper-1">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement