tribulant

Viroshop header.php file

Oct 27th, 2011
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 8.17 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
  5. <meta name="description" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>" />
  6. <meta name="keywords" content="" />
  7. <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
  8. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('viro_feedburner_url') <> "" ) { echo get_option('viro_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
  9. <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
  10. <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
  11. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  12. <title><?php bloginfo('name'); wp_title(); ?></title>
  13. <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/includes/js/nivo-slider.css" type="text/css" media="screen" />
  14. <?php /*<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>*/ ?>
  15. <?php /*<script src="<?php bloginfo('template_directory'); ?>/includes/js/jquery.nivo.slider.pack.js" type="text/javascript"></script>*/ ?>
  16.  
  17. <?php
  18.  
  19. wp_enqueue_script('jquery');
  20. wp_enqueue_script('jquery-nivoslider', get_bloginfo('template_directory') . '/includes/js/jquery.nivo.slider.pack.js', array('jquery'));
  21.  
  22. ?>
  23.  
  24. <?php if (is_single()) { ?>
  25.  
  26. <?php /*<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
  27. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
  28. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/fancybox/jquery.fancybox-1.3.2.js"></script>*/ ?>
  29.  
  30. <?php
  31.  
  32. wp_enqueue_script('jquery-mousewheel', get_bloginfo('template_directory') . '/includes/js/fancybox/jquery.mousewheel-3.0.4.pack.js', array('jquery'));
  33. wp_enqueue_script('jquery-fancybox', get_bloginfo('template_directory') . '/includes/js/fancybox/jquery.fancybox-1.3.2.js', array('jquery'));
  34.  
  35. ?>
  36.  
  37. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/includes/js/fancybox/jquery.fancybox-1.3.2.css" media="screen" />
  38.  
  39. <?php } ?>
  40.  
  41. <?php /*<script src="<?php bloginfo('template_directory'); ?>/includes/js/cufon/cufon-yui.js" type="text/javascript"></script>
  42. <script src="<?php bloginfo('template_directory'); ?>/includes/js/cufon/Anivers_400.font.js" type="text/javascript"></script>
  43. <script src="<?php bloginfo('template_directory'); ?>/includes/js/cufon/cufon.config.js" type="text/javascript"></script>*/ ?>
  44.  
  45. <?php
  46.  
  47. wp_enqueue_script('cufon-yui', get_bloginfo('template_directory') . '/includes/js/cufon/cufon-yui.js');
  48. wp_enqueue_script('cufon-Anivers_400', get_bloginfo('template_directory') . '/includes/js/cufon/Anivers_400.font.js');
  49. wp_enqueue_script('cufon-config', get_bloginfo('template_directory') . '/includes/js/cufon/cufon.config.js');
  50.  
  51. ?>
  52.  
  53. <?php if( is_home() || is_category() || is_page()) {?>
  54.  
  55. <?php /*<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/superfish/jquery-1.2.6.min.js"></script>*/ ?>
  56. <?php }?>
  57.  
  58. <?php /*<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/superfish/hoverIntent.js"></script>
  59. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/superfish/superfish.js"></script>
  60. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/superfish/supersubs.js"></script>*/ ?>
  61.  
  62. <?php
  63.  
  64. wp_enqueue_script('hoverIntent', get_bloginfo('template_directory') . '/includes/js/superfish/hoverIntent.js', array('jquery'));
  65. wp_enqueue_script('superfish', get_bloginfo('template_directory') . '/includes/js/superfish/superfish.js', array('jquery'));
  66.  
  67. ?>
  68.  
  69. <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/includes/js/superfish/css/superfish.css" type="text/css" media="screen" />
  70.  
  71.  
  72. <!--Product FancyZoom-->
  73. <?php if( is_single()) {?>
  74.  
  75. <?php /*
  76. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/fancyzoom.min.js"></script>
  77. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/jquery.bxGallery.min.js"></script>
  78. */ ?>
  79.  
  80. <?php
  81.  
  82. wp_enqueue_script('fancyzoom', get_bloginfo('template_directory') . '/includes/js/fancyzoom.min.js');
  83. wp_enqueue_script('jquery-bxGallery', get_bloginfo('template_directory') . '/includes/js/jquery.bxGallery.min.js', array('jquery'));
  84.  
  85. ?>
  86. <?php }?>
  87. <?php if( is_home()) {?>
  88. <!--Main Banner-->
  89.  
  90. <!--End Main Banner-->
  91.  
  92. <!--Featured Products Carousel-->
  93. <?php /*<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/stepcarousel.js"></script>*/ ?>
  94. <?php wp_enqueue_script('stepcarousel', get_bloginfo('template_directory') . '/includes/js/stepcarousel.js'); ?>
  95.  
  96. <!--End Featured Products-->
  97. <?php }?>
  98.  
  99. <?php wp_head(); ?>
  100.  
  101. <?php if (is_single()) : ?>
  102. <script type="text/javascript">
  103. jQuery(document).ready(function() {
  104.     jQuery("a#lightme").fancybox({
  105.         'overlayShow'   : false,
  106.         'transitionIn'  : 'fade',
  107.         'transitionOut' : 'fade'
  108.     });
  109. });
  110. </script>
  111.  
  112. <script type="text/javascript" charset="utf-8">
  113. jQuery(document).ready(function(){
  114.     jQuery('#example1').bxGallery({
  115.         maxwidth: 271,
  116.         thumbwidth: 52,
  117.         opacity: .85,
  118.         thumbcrop: false
  119.     });
  120. });
  121. </script>
  122.  
  123. <script type="text/javascript" charset="utf-8">
  124. jQuery(document).ready(function() {
  125.     jQuery('#small').fancyZoom({directory: '<?php bloginfo('template_directory'); ?>/includes/js/images'}); // no need for trailing slash
  126.     jQuery('#medium_box_link').fancyZoom({width:300, height:250});
  127.     jQuery('#register_box_link').fancyZoom({width:300, height:250});
  128. });
  129. </script>
  130. <?php endif; ?>
  131.  
  132. <?php if (is_home()) : ?>
  133. <script type="text/javascript">
  134. jQuery(document).ready(function() {
  135.     stepcarousel.setup({
  136.     galleryid: 'mygallery', //id of carousel DIV
  137.     beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
  138.     panelclass: 'panel', //class of panel DIVs each holding content
  139.     autostep: {enable:<?php echo get_option('viro_carousel_autostep'); ?>, moveby:<?php echo get_option('viro_carousel_moveby'); ?>, pause:<?php echo get_option('viro_carousel_pause'); ?>},
  140.     panelbehavior: {speed:<?php echo get_option('viro_carousel_panelspeed'); ?>, wraparound:<?php echo get_option('viro_carousel_wraparound'); ?>, persist:false},
  141.     defaultbuttons: {enable: false, moveby: 1, leftnav: ['<?php bloginfo('template_directory'); ?>/images/left-arrow.png', -5, 80], rightnav: ['<?php bloginfo('template_directory'); ?>/images/right-arrow.png', -15, 80]},
  142.     contenttype: ['inline'] //content setting ['inline'] or ['ajax', 'path_to_external_file']
  143.     });
  144. });
  145. </script>
  146. <?php endif; ?>
  147.  
  148. </head>
  149.  
  150. <body <?php body_class(); ?>>
  151.  
  152.        
  153. <!--Code is Poetry-->
  154. <div id="container">
  155. <div id="header">
  156. <div id="topheader">
  157.  
  158. <!--We Need A Logo-->
  159. <h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>"><img src="<?php if ( get_option('viro_logo') <> "" ) { echo get_option('viro_logo'); ?>" style="margin-top:0px;"<?php } else { ?><?php bloginfo('template_directory'); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" /></a></h1>
  160.  
  161.  
  162.  
  163. <div>
  164.   <div align="right"><img src="http://madelinespantry.com/images/free-shipping.png" alt="Free Shipping" /></div>
  165. </div>
  166.  
  167. </div>
  168. </div>
  169.        
  170. <!--Menu-->            
  171. <div id="menu">
  172.  
  173. <?php wp_nav_menu(array(
  174. 'theme_location' => 'primary',
  175. 'menu_class' => 'sf-menu',
  176. ));
  177. ?>
  178.  
  179. <!--Search Form-->             
  180. <div id="search">
  181. <form id="searchform" method="get" action="<?php bloginfo('home'); ?>/">
  182. <input type="text" value="" onfocus="if (this.value == '') {this.value = '';}" onblur="if (this.value == '') {this.value = '';}" size="35" maxlength="50" name="s" id="s" />
  183. <input type="submit" id="searchsubmit" value="" />
  184. </form>
  185. </div>
  186. <!--End Search Form--> 
  187.  
  188. </div>
  189. <!--End Menu-->
  190.  
Advertisement
Add Comment
Please, Sign In to add comment