Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * Peekaboo Header
- */
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html <?php language_attributes(); ?>>
- <!-- Head begin -->
- <head>
- <meta charset="<?php bloginfo( 'charset' ); ?>" />
- <title><?php wp_title( '|', true, 'right' ); ?></title>
- <link rel="profile" href="http://gmpg.org/xfn/11" />
- <!-- Stylesheet -->
- <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
- <link rel="stylesheet" type="text/css" media="print" href="<?php echo get_template_directory_uri(); ?>/css/print.css" />
- <?php if (of_get_option('pkb_stylesheet')) { ?>
- <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/<?php echo of_get_option('pkb_stylesheet'); ?>"/>
- <?php }; ?>
- <?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') ) { ?>
- <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/isotope-style.css"/>
- <?php }; ?>
- <?php if ( is_page_template('page-home.php')) { ?>
- <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/nivo-slider.css"/>
- <?php }; ?>
- <!-- RSS -->
- <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
- <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' ); } ?>" />
- <?php wp_head(); ?>
- <script type="text/javascript">
- $(document).ready(function(){
- $(document).bind("contextmenu",function(e){
- return false;
- });
- });
- </script>
- </head>
- <!-- Head end -->
- <body <?php body_class(); ?>>
- <!-- Content Wrapper begin -->
- <div id="content-wrapper">
- <!-- Container begin -->
- <div id="container">
- <!-- Header begin -->
- <div id="header" class="clearfix">
- <!-- Logo begin -->
- <div id="logo">
- <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
- <img src="<?php /* Use the default logo (logo.png) if custom logo does not exist */
- 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" />
- </a>
- </div>
- <!-- Logo end -->
- <!-- Navigation -->
- <div id="nav-wrapper">
- <div id="nav-wrapper-center">
- <?php if ( has_nav_menu( 'primary' ) ) { /* if menu 'Primary' menu exists then use Custom Menu */ ?>
- <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'sf-menu' ) ); ?>
- <?php } else { /* else use wp_list_pages */?>
- <ul class="sf-menu">
- <?php wp_list_pages( 'title_li=&depth=2' ); ?>
- </ul>
- <?php } ?>
- </div>
- <div id="nav-wrapper-right"></div>
- </div>
- </div>
- <!-- Header end -->
- <?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