Advertisement
Guest User

Untitled

a guest
Jan 14th, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" dir="<?php bloginfo('text_direction'); ?>" xml:lang="<?php bloginfo('language'); ?>">
  3. <head>
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <title><?php wp_title ( '|', true,'right' ); ?></title>
  6. <meta http-equiv="Content-language" content="<?php bloginfo('language'); ?>" />
  7. <link rel="profile" href="http://gmpg.org/xfn/11" />
  8. <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/favico.ico" type="image/x-icon" />
  9. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
  10. <!--[if IE]><link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_url'); ?>/ie.css" /><![endif]-->
  11. <?php
  12. wp_enqueue_script('jquery');
  13. wp_enqueue_script('cycle', get_template_directory_uri() . '/js/jquery.cycle.all.min.js', 'jquery', false);
  14. wp_enqueue_script('cookie', get_template_directory_uri() . '/js/jquery.cookie.js', 'jquery', false);
  15. if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
  16. wp_enqueue_script('script', get_template_directory_uri() . '/js/script.js', 'jquery', false);
  17. ?>
  18. <?php wp_head(); ?>
  19. <?php if ( is_home() && !get_option('ss_disable') ) : ?>
  20. <script type="text/javascript">
  21. (function($) {
  22. $(function() {
  23. $('#slideshow').cycle({
  24. fx: 'scrollHorz',
  25. timeout: <?php echo (get_option('ss_timeout')) ? get_option('ss_timeout') : '7000' ?>,
  26. next: '#rarr',
  27. prev: '#larr'
  28. });
  29. })
  30. })(jQuery)
  31. </script>
  32. <?php endif; ?>
  33. </head>
  34. <body <?php echo (get_option('bg_color')) ? 'style="background-color: '.get_option('bg_color').';"' : '' ?>>
  35. <div class="wrapper">
  36.  
  37. <div class="header clear">
  38. <div class="logo">
  39. <a href="<?php bloginfo('home'); ?>"><img src="<?php echo (get_option('logo_url')) ? get_option('logo_url') : get_bloginfo('template_url') . '/images/logo.png' ?>" alt="<?php bloginfo('name'); ?>"/></a>
  40. </div>
  41.  
  42. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Site description') ) ?>
  43.  
  44. <?php get_search_form(); ?>
  45.  
  46. <?php wp_nav_menu(array('menu' => 'Top menu', 'theme_location' => 'Top menu', 'depth' => 1, 'container' => 'div', 'container_class' => 'menu', 'menu_id' => false, 'menu_class' => false)); ?>
  47.  
  48. </div>
  49.  
  50. <?php wp_nav_menu(array('menu' => 'Navigation', 'theme_location' => 'Navigation', 'depth' => 2, 'container' => 'div', 'container_class' => 'nav', 'menu_class' => 'dd', 'menu_id' => 'dd', 'walker' => new extended_walker())); ?>
  51.  
  52. <?php if ( is_home() && !get_option('ss_disable') ) get_template_part('slideshow'); ?>
  53.  
  54. <!-- Container -->
  55. <div id="container" class="clear">
  56. <!-- Content -->
  57. <div id="content">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement