Advertisement
Guest User

nicnack_header

a guest
Jan 2nd, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4.  
  5. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  6.  
  7. <title><?php
  8. if ( is_front_page() ) {
  9. } elseif ( is_category() ) {
  10. _e( 'Category: ', LANGUAGE ); wp_title( '' ); echo ' - ';
  11. } elseif ( function_exists( 'is_tag' ) && is_tag() ) {
  12. single_tag_title( __( 'Tag Archive for &quot;', LANGUAGE ) ); echo '&quot; - ';
  13. } elseif ( is_archive() ) {
  14. wp_title( '' ); _e( ' Archive - ', LANGUAGE );
  15. } elseif ( is_page() ) {
  16. echo wp_title( '' ); echo ' - ';
  17. } elseif ( is_search() ) {
  18. _e( 'Search for &quot;', LANGUAGE ); echo esc_html( $s ) . '&quot; - ';
  19. } elseif ( ! ( is_404() ) && ( is_single() ) || ( is_page() ) ) {
  20. wp_title( '' ) ; echo ' - ';
  21. } elseif ( is_404() ) {
  22. _e( 'Not Found - ', LANGUAGE );
  23. } bloginfo( 'name' );
  24. ?></title>
  25.  
  26. <?php require( CELTA_LIB . "theme-options-vars.php" ); ?>
  27.  
  28. <link rel="profile" href="http://gmpg.org/xfn/11" />
  29. <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" media="screen" />
  30. <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/presentation/<?php echo str_replace( ' ', '', strtolower( $celta_skin ) ); ?>.css" type="text/css" media="screen" />
  31. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  32. <link rel="shortcut icon" href="<?php echo $celta_favicon; ?>" />
  33.  
  34. <?php wp_head(); ?>
  35.  
  36. <?php if ( is_single() ) { ?>
  37. <script type="text/javascript">
  38. jQuery(document).ready( function() {
  39. jQuery('#navigation a').each( function() {
  40. var hash = jQuery(this).attr('href');
  41. jQuery(this).attr('href', '<?php echo home_url(); ?>'+'/'+hash);
  42. });
  43. })
  44. </script>
  45. <?php } ?>
  46.  
  47. <style>
  48. <?php if ( $celta_custom_css != '' ) { echo stripslashes( $celta_custom_css ); } ?>
  49. </style>
  50.  
  51. </head>
  52.  
  53. <body <?php body_class(); ?>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement