Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html <?php language_attributes(); ?>>
- <head>
- <meta charset="<?php bloginfo( 'charset' ); ?>" />
- <title><?php
- /*
- * Print the <title> tag based on what is being viewed.
- */
- global $page, $paged;
- wp_title( '|', true, 'right' );
- // Add the blog name.
- bloginfo( 'name' );
- // Add the blog description for the home/front page.
- $site_description = get_bloginfo( 'description', 'display' );
- if ( $site_description && ( is_home() || is_front_page() ) )
- echo " | $site_description";
- // Add a page number if necessary:
- if ( $paged >= 2 || $page >= 2 )
- echo ' | ' . sprintf( __( 'Page %s', 'minecraft' ), max( $paged, $page ) );
- ?></title>
- <link rel="profile" href="http://gmpg.org/xfn/11" />
- <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
- <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
- <!--[if IE]>
- <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- <?php
- /* We add some JavaScript to pages with the comment form
- * to support sites with threaded comments (when in use).
- */
- if ( is_singular() && get_option( 'thread_comments' ) )
- wp_enqueue_script( 'comment-reply' );
- /* Always have wp_head() just before the closing </head>
- * tag of your theme, or you will break many plugins, which
- * generally use this hook to add elements to <head> such
- * as styles, scripts, and meta tags.
- */
- wp_head();
- ?>
- </head>
- <body <?php body_class(); ?>>
- <!--[if lte IE 7]>
- <div class="ieDepass"><p>Vous utilisez un navigateur web (Internet Explorer) qui n'est plus mis à jour depuis plusieurs années.<br />
- Pour visiter ce site, vous devez faire la mise à jour vers Internet Explorer en version 9, ou opter pour un autre navigateur plus performant et plus respectueux des standards du web. <br />
- <a href="http://www.mozilla-europe.org/fr/firefox/">Firefox</a> - <a href="http://www.google.ch/chrome">Google Chrome</a> -
- <a href="http://www.apple.com/fr/safari/">Safari</a> - <a href="http://www.opera.com/">Opera</a><br />
- Choisissez, et admirez la différence !
- </p></div><br />
- <![endif]-->
- <div id="global">
- <header>
- <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'h1'; ?>
- <<?php echo $heading_tag; ?> id="site-title">
- <span>
- <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
- </span>
- </<?php echo $heading_tag; ?>>
- <?php
- // Check if this is a post or page, if it has a thumbnail, and if it's a big one
- if ( is_singular() &&
- has_post_thumbnail( $post->ID ) &&
- ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
- $image[1] >= HEADER_IMAGE_WIDTH ) :
- // Houston, we have a new header image!
- echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
- else : ?>
- <a href="<?php echo home_url( '/' ); ?>"><img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="Voxran.fr - Lien Accueil" /></a>
- <?php endif; ?>
- <div id="description-serveur"><?php bloginfo( 'description' ); ?></div>
- </header>
- <div id="headerLinksRight"></div>
- <div class="clear"></div>
- <nav>
- <?php wp_nav_menu( array( 'menu' => 'Menu Left', 'container_class' => '', 'container' => '', 'menu_class' => '' ) ); ?>
- </nav>
- <div id="conteneur">
Advertisement
Add Comment
Please, Sign In to add comment