Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.34 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. <!--[if IE 6]>
  3. <html xmlns="http://www.w3.org/1999/xhtml" id="ie6" <?php language_attributes(); ?>>
  4. <![endif]-->
  5. <!--[if IE 7]>
  6. <html xmlns="http://www.w3.org/1999/xhtml" id="ie7" <?php language_attributes(); ?>>
  7. <![endif]-->
  8. <!--[if IE 8]>
  9. <html xmlns="http://www.w3.org/1999/xhtml" id="ie8" <?php language_attributes(); ?>>
  10. <![endif]-->
  11. <!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
  12. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  13. <!--<![endif]-->
  14. <head profile="http://gmpg.org/xfn/11">
  15. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  16. <?php elegant_description(); ?>
  17. <?php elegant_keywords(); ?>
  18. <?php elegant_canonical(); ?>
  19.  
  20. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  21. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/colorpicker.css" type="text/css" media="screen" />
  22.  
  23. <?php do_action('et_head_meta'); ?>
  24.  
  25. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  26.  
  27. <!--[if lt IE 7]>
  28. <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/ie6style.css" />
  29. <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/DD_belatedPNG_0.0.8a-min.js"></script>
  30. <script type="text/javascript">DD_belatedPNG.fix('img#logo, span.overlay, a.zoom-icon, a.more-icon, #menu, #menu-right, #menu-content, ul#top-menu ul, #menu-bar, .footer-widget ul li, span.post-overlay, #content-area, .avatar-overlay, .comment-arrow, .testimonials-item-bottom, #quote, #bottom-shadow, #quote .container');</script>
  31. <![endif]-->
  32. <!--[if IE 7]>
  33. <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/ie7style.css" />
  34. <![endif]-->
  35. <!--[if IE 8]>
  36. <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/ie8style.css" />
  37. <![endif]-->
  38.  
  39. <script type="text/javascript">
  40. document.documentElement.className = 'js';
  41. </script>
  42.  
  43. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  44. <?php wp_head(); ?>
  45.  
  46. </head>
  47. <body <?php body_class(); ?>>
  48. <?php do_action('et_header_top'); ?>
  49. <div id="container">
  50. <div id="header" class="clearfix">
  51. <a href="<?php echo esc_url( home_url( '/' ) ); ?>">
  52. <?php $logo = (get_option('chameleon_logo') <> '') ? get_option('chameleon_logo') : get_template_directory_uri().'/images/logo.png'; ?>
  53. <img src="<?php echo esc_attr( $logo ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" id="logo"/>
  54. </a>
  55. <p id="slogan"><?php bloginfo('description'); ?></p>
  56. <?php do_action('et_header'); ?>
  57.  
  58. <?php $menuClass = 'nav';
  59. $menuID = 'top-menu';
  60. $primaryNav = '';
  61. if (function_exists('wp_nav_menu')) {
  62. $primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'menu_id' => $menuID, 'echo' => false ) );
  63. };
  64. if ($primaryNav == '') { ?>
  65. <ul id="<?php echo esc_attr($menuID); ?>" class="<?php echo esc_attr($menuClass); ?>">
  66. <?php if (get_option('chameleon_home_link') == 'on') { ?>
  67. <li <?php if (is_home()) echo('class="current_page_item"') ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e('Home','Chameleon') ?></a></li>
  68. <?php }; ?>
  69.  
  70. <?php show_page_menu($menuClass,false,false); ?>
  71. <?php show_categories_menu($menuClass,false); ?>
  72. </ul> <!-- end ul#nav -->
  73. <?php }
  74. else echo($primaryNav); ?>
  75.  
  76. <div id="additional-info">
  77. <div id="et-social-icons">
  78. <?php
  79. $social_icons = array();
  80. $et_rss_url = get_option('chameleon_rss_url') <> '' ? get_option('chameleon_rss_url') : get_bloginfo('rss2_url');
  81. if ( get_option('chameleon_show_twitter_icon') == 'on' ) $social_icons['twitter'] = array('image' => get_template_directory_uri() . '/images/twitter.png', 'url' => get_option('chameleon_twitter_url'), 'alt' => 'Twitter' );
  82. if ( get_option('chameleon_show_rss_icon') == 'on' ) $social_icons['rss'] = array('image' => get_template_directory_uri() . '/images/rss.png', 'url' => $et_rss_url, 'alt' => 'Rss' );
  83. if ( get_option('chameleon_show_facebook_icon') == 'on' ) $social_icons['facebook'] = array('image' => get_template_directory_uri() . '/images/facebook.png', 'url' => get_option('chameleon_facebook_url'), 'alt' => 'Facebook' );
  84. $social_icons = apply_filters('et_social_icons', $social_icons);
  85. if ( !empty($social_icons) ) {
  86. foreach ($social_icons as $icon) {
  87. echo "<a href='" . esc_url($icon['url']) . "' target='_blank'><img alt='" . esc_attr($icon['alt']) . "' src='" . esc_attr( $icon['image'] ) . "' /></a>";
  88. }
  89. }
  90. ?>
  91. </div>
  92.  
  93. <div id="search-form">
  94. <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>/">
  95. <input type="text" value="<?php esc_attr_e('Search this site...', 'Chameleon'); ?>" name="s" id="searchinput" />
  96. <input type="image" src="<?php echo get_template_directory_uri(); ?>/images/search_btn.png" id="searchsubmit" />
  97. </form>
  98. </div> <!-- end #search-form -->
  99. </div> <!-- end #additional-info -->
  100. </div> <!-- end #header --> function hideTooltip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement