Advertisement
kiddie159

pekabo header

Apr 20th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. <?php
  2. /*
  3. * Peekaboo Header
  4. */
  5. ?>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  7. <html <?php language_attributes(); ?>>
  8.  
  9. <!-- Head begin -->
  10. <head>
  11.  
  12. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  13. <title><?php wp_title( '|', true, 'right' ); ?></title>
  14. <link rel="profile" href="http://gmpg.org/xfn/11" />
  15.  
  16. <!-- Stylesheet -->
  17. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  18.  
  19. <link rel="stylesheet" type="text/css" media="print" href="<?php echo get_template_directory_uri(); ?>/css/print.css" />
  20.  
  21. <?php if (of_get_option('pkb_stylesheet')) { ?>
  22. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/<?php echo of_get_option('pkb_stylesheet'); ?>"/>
  23. <?php }; ?>
  24. <?php if ( is_page_template('page-gallery-3-col-side.php') || is_page_template('page-gallery-3-col.php') || is_page_template('page-gallery-4-col-side.php') ) { ?>
  25. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/isotope-style.css"/>
  26. <?php }; ?>
  27. <?php if ( is_page_template('page-home.php')) { ?>
  28. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/nivo-slider.css"/>
  29. <?php }; ?>
  30.  
  31. <!-- RSS -->
  32. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  33. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?> RSS Feed" href="<?php if (of_get_option('pkb_feedburner')) { echo of_get_option('pkb_feedburner'); } else { bloginfo( 'rss2_url' ); } ?>" />
  34.  
  35.  
  36. <?php wp_head(); ?>
  37. <script type="text/javascript">
  38. $(document).ready(function(){
  39. $(document).bind("contextmenu",function(e){
  40. return false;
  41. });
  42. });
  43. </script>
  44. </head>
  45. <!-- Head end -->
  46.  
  47. <body <?php body_class(); ?>>
  48.  
  49. <!-- Content Wrapper begin -->
  50. <div id="content-wrapper">
  51.  
  52. <!-- Container begin -->
  53. <div id="container">
  54.  
  55. <!-- Header begin -->
  56. <div id="header" class="clearfix">
  57.  
  58. <!-- Logo begin -->
  59. <div id="logo">
  60. <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
  61. <img src="<?php /* Use the default logo (logo.png) if custom logo does not exist */
  62. if ( of_get_option('pkb_custom_logo')) : echo of_get_option('pkb_custom_logo'); else: bloginfo('stylesheet_directory');?>/img/logo.png<?php endif; ?>" alt=" logo" />
  63. </a>
  64. </div>
  65. <!-- Logo end -->
  66.  
  67. <!-- Navigation -->
  68. <div id="nav-wrapper">
  69. <div id="nav-wrapper-center">
  70. <?php if ( has_nav_menu( 'primary' ) ) { /* if menu 'Primary' menu exists then use Custom Menu */ ?>
  71. <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'sf-menu' ) ); ?>
  72. <?php } else { /* else use wp_list_pages */?>
  73. <ul class="sf-menu">
  74. <?php wp_list_pages( 'title_li=&depth=2' ); ?>
  75. </ul>
  76. <?php } ?>
  77. </div>
  78. <div id="nav-wrapper-right"></div>
  79. </div>
  80.  
  81. </div>
  82. <!-- Header end -->
  83.  
  84. <?php if(is_page_template('page-home.php')) { include 'lib/slide-home.php'; } // Get slide if it is Home Page ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement