Advertisement
centennialchristianc

Ray of Light Header.php

Feb 6th, 2012
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.48 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.  
  3. <!-- BEGIN html -->
  4. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  5.  
  6. <!-- BEGIN head -->
  7. <head profile="http://gmpg.org/xfn/11">
  8. <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Cabin:r,b,i,bi|Yanone Kaffeesatz:r,b,i,bi|Lobster:r,b,i,bi' type='text/css' media='all' />
  9.  
  10. <!-- Title -->
  11. <title>
  12. <?php
  13. if ( is_single() ) { single_post_title(); print ' - '; bloginfo('name'); }
  14. elseif ( is_home() || is_front_page() ) { bloginfo('name'); print ' | '; bloginfo('description'); }
  15. elseif ( is_page() ) { single_post_title(''); print ' - '; bloginfo('description'); }
  16. elseif ( is_search() ) { bloginfo('name'); print ' | Search results ' . esc_html($s); }
  17. elseif ( is_404() ) { bloginfo('name'); print ' - Page not found'; }
  18. else { bloginfo('name'); wp_title('-'); }
  19. ?>
  20. </title>
  21.  
  22. <!-- Meta Tags -->
  23. <meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  24.  
  25.  
  26. <!-- Favicon -->
  27. <link rel="shortcut icon" href="<?php echo bloginfo('template_url'); ?>/images/favicon.ico" type="image/x-icon" />
  28.  
  29. <!-- Stylesheets -->
  30. <link id="main_stylesheet" rel="stylesheet" href="<?php echo bloginfo('template_url'); ?>/css/style.css" type="text/css" />
  31. <link rel="stylesheet" href="<?php echo bloginfo('template_url'); ?>/css/shortcodes.css" type="text/css" />
  32.  
  33. <!--[if lte IE 7]>
  34. <style type="text/css">
  35. html .jqueryslidemenu { height: 1%; } /* Holly Hack for IE7 and below */
  36. </style>
  37. <![endif]-->
  38.  
  39. <?php wp_enqueue_script('jquery'); ?>
  40. <?php wp_head(); ?>
  41. <?php global $theme_name; ?>
  42.  
  43. <!-- Scripts -->
  44. <script src="<?php echo bloginfo('template_url'); ?>/js/jquery.min.js" type="text/javascript"></script>
  45. <script src="<?php echo bloginfo('template_url'); ?>/js/cufon-yui.js" type="text/javascript"></script>
  46. <script src="<?php echo bloginfo('template_url'); ?>/js/chaparralpro.font.js" type="text/javascript"></script>
  47. <script type="text/javascript" src="<?php echo bloginfo('template_url'); ?>/js/scripts.js"></script>
  48. <?php $cufon = get_option("".$theme_name."_cufon"); if($cufon=="on") { ?>
  49. <script type="text/javascript">
  50. Cufon.replace('.title', { textShadow: '#fff 0 1px', hover: 'true' } );
  51. Cufon.replace('.menu-item a', { textShadow: '#110d0b 0 1px', hover: 'true' } );
  52. Cufon.replace('.block-1 h2 span', { textShadow: '#fff 0 1px' } );
  53. Cufon.replace('.block-2 h2 span', { textShadow: '#fff 0 1px' } );
  54. Cufon.replace('.footer-wrapper .footer table h2', { textShadow: '#201913 0 1px' } );
  55. Cufon.replace('.section-spacer span', { textShadow: '#fff 0 1px' } );
  56. Cufon.replace('.news-item .text h2', { textShadow: '#fff 0 1px', hover: 'true' } );
  57. Cufon.replace('.article-wrapper .text h2, .article-wrapper .text h3, .article-wrapper .text h4, .article-wrapper .text h5, .article-wrapper .text h6', { textShadow: '#fff 0 1px', hover: 'true' } );
  58.  
  59. Cufon.replace('.section-header h2', { textShadow: '#fff 0 1px', hover: 'true' } );
  60. Cufon.replace('.full-width-wrapper h2', { textShadow: '#fff 0 1px', hover: 'true' } );
  61. Cufon.replace('.full-width-title h2', { textShadow: '#fff 0 1px', hover: 'true' } );
  62. Cufon.replace('.gallery .title h2', { textShadow: '#fff 0 1px', hover: 'true' } );
  63. Cufon.replace('.gallery .open-title h1', { textShadow: '#fff 0 1px', hover: 'true' } );
  64. </script>
  65. <?php } ?>
  66. <?php if ( !is_single() ) { ?>
  67. <script type="text/javascript" src="<?php echo bloginfo('template_url'); ?>/js/jquery.easing.1.3.js"></script>
  68. <script type="text/javascript" src="<?php echo bloginfo('template_url'); ?>/js/jquery.scrollTo-min.js"></script>
  69. <script type="text/javascript" src="<?php echo bloginfo('template_url'); ?>/js/aktuals.js"></script>
  70. <?php } ?>
  71.  
  72. <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" title="<?php printf( __( '%s latest posts'), esc_html( get_bloginfo('name'), 1 ) ); ?>" />
  73. <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments'), esc_html( get_bloginfo('name'), 1 ) ); ?>" />
  74. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  75.  
  76. <!-- END head -->
  77. </head>
  78. <body <?php body_class(); ?>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement