Guest User

header.php

a guest
Jun 12th, 2020
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.27 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head profile="http://gmpg.org/xfn/11">
  4.  
  5. <title><?php woo_title(); ?></title>
  6. <?php woo_meta(); ?>
  7.  
  8. <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
  9. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/css/effects.css" />
  10. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/css/prettyPhoto.css" />
  11. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="
  12. <?php $feedurl = get_option('woo_feed_url');
  13. if ( !empty($feedurl) ) {
  14.     echo $feedurl;
  15. } else {
  16.     echo bloginfo('url') . "/?feed=rss2"; if ( get_option('woo_portfolio_ID') ) echo "&cat=-" . get_option('woo_portfolio_ID');
  17. }
  18. ?>
  19. " />
  20. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  21. <?php if ( get_option('woo_google_fonts') == "true" ) { ?>
  22. <link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css' />
  23. <link href='http://fonts.googleapis.com/css?family=Droid+Serif:italic' rel='stylesheet' type='text/css' />
  24. <?php } ?>      
  25.  
  26. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' );  ?>
  27. <?php wp_head(); ?>
  28. <?php woo_head(); ?>
  29.  
  30. <?php global $woo_options; ?>
  31. <?php
  32. if ( is_home() && $woo_options['woo_featured_disable'] <> "true" ) {
  33. $featpages = $woo_options['woo_featured_pages'];
  34. $featarr = split(",",$featpages);
  35. if(count($featarr) > 1){
  36. ?>
  37. <script type="text/javascript">
  38. jQuery(document).ready(function(){
  39.  
  40.     jQuery('#woofader').woofader({
  41.         <?php $speed = $woo_options['woo_featured_speed']; if ( !$speed ) $speed = 1000; ?>
  42.         <?php $timeout = $woo_options['woo_featured_timeout']; if ( !$timeout ) $timeout = 0; ?>
  43.         <?php $resize = $woo_options['woo_featured_resize']; if ( !$resize ) $resize = "true"; ?>
  44.         <?php $animate = "true"; if ( $resize <> "true" ) $animate = "false"; ?>
  45.         speed: <?php echo $speed; ?>,
  46.         timeout: <?php echo $timeout; ?>,
  47.         animate: <?php echo $animate; ?>,
  48.         resize: <?php echo $resize; ?>
  49.     });
  50.        
  51. });
  52. </script>
  53. <?php }
  54. } ?>
  55.  
  56. <?php if(!empty($woo_options['woo_featured_height'])){ ?>
  57. <style type="text/css">
  58.     #featured { height: <?php echo $woo_options['woo_featured_height']; ?>px}
  59.     #featured h3 { font-size: 17pt;}
  60. </style>
  61. <?php } ?>
  62.  
  63. </head>
  64.  
  65. <body <?php body_class(); ?>>
  66.  
  67. <?php woo_top(); ?>
  68.  
  69. <div id="wrapper">
  70.     <div id="top">
  71.         <div id="upperheader" style="background-color:#393D46; height: 26px; width: 100%; padding-bottom: 2px;">
  72.  
  73. <div id="upperNav" class="col-full">
  74.  
  75. <div id="upperNavLinks">
  76. <div style="float: right; margin-right: 280px; width: 185px; color: rgb(131, 180, 65); font-size: 15px;"><a href="../parents-and-kids">Parents</a>  |  <a href="../schools-and-principals">Teachers</a>  |  <a href="../municipalities">Cities</a></div>
  77. <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/" style="margin-top: 0px; margin-right: 20px; height: 22px;">
  78.     <div><input type="text" size="25" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" style="width: 190px; margin-top: -17px; margin-left: 10px; background-color: #e2e2e2; border-color:rgb(226, 226, 226) rgb(226, 226, 226) rgb(226, 226, 226) rgb(226, 226, 226)" />
  79.          <input type="image" src="http://www.kidsgreatminds.org/wp-content/uploads/2012/12/lupa.gif" id="searchsubmit" class="btn" />
  80.     </div>
  81. </form>
  82. </div>
  83.         </div>
  84.        
  85. </div>
  86. <div id="header">
  87.         <div class="col-full">
  88.        
  89.        
  90.             <div id="logo" class="fl">
  91.                
  92.                 <?php if (get_option('woo_texttitle') <> "true") { ?><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>"><img class="title" src="<?php if ( get_option('woo_logo') <> "" ) { echo get_option('woo_logo'); } else { bloginfo('template_directory'); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" /></a><?php } ?>
  93.                
  94.                 <?php if(is_single() || is_page()) : ?>
  95.                     <span class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></span>
  96.                 <?php else: ?>
  97.                     <h1 class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
  98.                 <?php endif; ?>
  99.                
  100.                     <span class="site-description"><?php bloginfo('description'); ?></span>
  101.                
  102.             </div><!-- /#logo -->
  103.             <?php
  104.             if ( function_exists('has_nav_menu') && has_nav_menu('primary-menu') ) {
  105.                 wp_nav_menu( array( 'depth' => 4, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'nav', 'menu_class' => 'fr', 'theme_location' => 'primary-menu' ) );
  106.             } else {
  107.             ?>  
  108.      
  109.             <ul id="nav" class="fr">
  110.            
  111.             <?php
  112.             if ( get_option('woo_custom_nav_menu') == 'true' ) {
  113.                 if ( function_exists('woo_custom_navigation_output') )
  114.                     woo_custom_navigation_output('depth=4');
  115.  
  116.             } else { ?>
  117.  
  118.                 <?php $exclude = $woo_options['woo_nav_exclude'] .','. $woo_options['woo_featured_pages']; ?>      
  119.                 <?php if ( $woo_options['woo_main_pages_exclude'] == "true" ) $exclude .= ',' . $woo_options['woo_main_pages']; ?>
  120.                 <?php if (is_page() || is_archive() || is_single() || is_tag()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
  121.                 <li class="<?php echo $highlight; ?> home_link"><a href="<?php bloginfo('url'); ?>"><?php _e('Home', 'woothemes') ?></a></li>
  122.                 <?php
  123.                 if (get_option('woo_cat_menu') == 'true')
  124.                     wp_list_categories('sort_column=menu_order&depth=4&title_li=');
  125.                 else
  126.                     wp_list_pages('sort_column=menu_order&depth=4&title_li=&exclude='.$exclude);
  127.                 ?>
  128.                
  129.             <?php } ?>
  130.                
  131.             </ul><!-- /#nav -->
  132.            
  133.             <?php } ?>              
  134.         </div><!-- /.col-full -->
  135.         <div id="navBG" style="width: 100%; height: 31px; background-color: rgb(0, 0, 0); margin-top: -30px;">
  136.  
  137.         </div>
  138.        
  139.         </div><!-- /#header -->
Add Comment
Please, Sign In to add comment