Advertisement
greencode

Untitled

Jun 22nd, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage Toolbox
  5. */
  6. ?><!DOCTYPE html>
  7. <html <?php language_attributes(); ?>>
  8. <head>
  9. <!--[if lt IE 9]> <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> <![endif]-->
  10. <link rel="shortcut icon" href="<?php bloginfo( 'template_directory' ); ?>/images/favicon.ico" />
  11. <title><?php
  12. /*
  13. * Print the <title> tag based on what is being viewed.
  14. */
  15. global $page, $paged;
  16.  
  17. wp_title( '|', true, 'right' );
  18.  
  19. // Add the blog name.
  20. bloginfo( 'name' );
  21.  
  22. // Add the blog description for the home/front page.
  23. $site_description = get_bloginfo( 'description', 'display' );
  24. if ( $site_description && ( is_home() || is_front_page() ) )
  25. echo " | $site_description";
  26.  
  27. // Add a page number if necessary:
  28. if ( $paged >= 2 || $page >= 2 )
  29. echo ' | ' . sprintf( __( 'Page %s', 'toolbox' ), max( $paged, $page ) );
  30.  
  31. ?></title>
  32. <link rel="profile" href="http://gmpg.org/xfn/11" />
  33. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_directory' ); ?>/reset.css" />
  34. <!--[if IE 7]>
  35. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_directory' ); ?>/ie7.css" />
  36. <![endif]-->
  37. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  38. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_url'); ?>/sizes.css" />
  39. <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
  40. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  41. <!--[if lt IE 9]>
  42. <script src="<?php bloginfo( 'template_directory' ); ?>/html5.js" type="text/javascript"></script>
  43. <![endif]-->
  44. <?php wp_enqueue_script("jquery"); ?>
  45. <?php wp_head(); ?>
  46. <script type="text/javascript" src="<?php bloginfo( 'template_directory' ); ?>/scripts/jquery.equalheights.js"></script>
  47. <link rel="stylesheet" href="<?php bloginfo( 'template_directory' ); ?>/css/royalslider.css">
  48. <link rel="stylesheet" href="<?php bloginfo( 'template_directory' ); ?>/css/royalslider-skins/minimal/minimal.css">
  49. <script src="<?php bloginfo( 'template_directory' ); ?>/scripts/jquery.easing.1.3.min.js"></script>
  50. <script src="<?php bloginfo( 'template_directory' ); ?>/scripts/royal-slider-8.1.min.js"></script>
  51. <script type="text/javascript" src="<?php bloginfo( 'template_directory' ); ?>/scripts/custom.js"></script>
  52. </head>
  53.  
  54. <body <?php body_class(ICL_LANGUAGE_CODE); ?>>
  55. <div id="page" class="hfeed container_12">
  56. <div class="container_12">
  57. <div id="header" class="grid_12">
  58. <div id="branding" role="banner">
  59. <a class="logo" href="<?php bloginfo('url'); ?>"><span><?php bloginfo('name'); ?> | <?php bloginfo('description'); ?></span></a>
  60. <nav id="access" role="navigation">
  61. <h1 class="section-heading"><?php _e( 'Main menu', 'toolbox' ); ?></h1>
  62. <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'toolbox' ); ?>"><?php _e( 'Skip to content', 'toolbox' ); ?></a></div>
  63.  
  64. <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
  65. </nav><!-- #access -->
  66. <?php do_action('icl_language_selector'); ?>
  67. </div><!-- #branding -->
  68. <div class="clearboth"></div>
  69. </div>
  70. <div class="clearboth"></div>
  71. </div>
  72.  
  73. <?php if (is_front_page()) { ?>
  74. <?php } else { ?>
  75. <div class="container_12">
  76. <div id="breadcrumb" class="grid_12" >
  77. <?php if(function_exists('bcn_display'))
  78. {
  79. bcn_display();
  80. }?>
  81. </div>
  82. <div class="clearboth"></div>
  83. </div>
  84. <?php } ?>
  85. <div id="main">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement