Digitalraindrops

members-header.php

Mar 23rd, 2011
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.88 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
  6. <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
  7. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" />
  8. <!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
  9. <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
  10. <?php if(WP_VERSION < 3.0): ?>
  11. <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
  12. <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
  13. <?php endif; ?>
  14. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  15. <?php
  16. remove_action('wp_head', 'wp_generator');
  17. wp_enqueue_script('jquery');
  18. if ( is_singular() && get_option( 'thread_comments' ) ) {
  19.     wp_enqueue_script( 'comment-reply' );
  20. }
  21. wp_head(); ?>
  22. <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
  23. </head>
  24. <body <?php if(function_exists('body_class')) body_class(); ?>>
  25. <div id="art-page-background-middle-texture">
  26. <div id="art-main">
  27.     <div class="art-sheet">
  28.         <div class="art-sheet-tl"></div>
  29.         <div class="art-sheet-tr"></div>
  30.         <div class="art-sheet-bl"></div>
  31.         <div class="art-sheet-br"></div>
  32.         <div class="art-sheet-tc"></div>
  33.         <div class="art-sheet-bc"></div>
  34.         <div class="art-sheet-cl"></div>
  35.         <div class="art-sheet-cr"></div>
  36.         <div class="art-sheet-cc"></div>
  37.         <div class="art-sheet-body">
  38.             <div class="art-header">
  39.                 <div class="art-header-clip">
  40.                 <div class="art-header-center">
  41.                     <div class="art-header-png"></div>
  42.                     <div class="art-header-jpeg"></div>
  43.                 </div>
  44.                 </div>
  45.                 <div class="art-headerobject"></div>
  46.                 <div class="art-logo">
  47.                 <?php if(art_get_option('art_header_show_headline')): ?>
  48.                 <h1 class="art-logo-name"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
  49.                 <?php endif; ?>
  50.                 <?php if(art_get_option('art_header_show_slogan')): ?>
  51.                     <h2 class="art-logo-text"><?php bloginfo('description'); ?></h2>
  52.                 <?php endif; ?>
  53.                 </div>
  54.             </div><div class="art-nav">
  55.                 <div class="art-nav-l"></div>
  56.                 <div class="art-nav-r"></div>
  57.                 <div class="art-nav-outer">
  58.                 <?php
  59.                 //See if user is logged in and display custom menu!
  60.                 if ( is_user_logged_in() ) {
  61.                     echo art_get_menu(array(
  62.                             'source' => art_get_option('art_menu_source'),
  63.                             'depth' => art_get_option('art_menu_depth'),
  64.                             'menu' => 'members-menu',
  65.                             'class' => 'art-hmenu' 
  66.                         )
  67.                     );
  68.                 }else{
  69.                     echo art_get_menu(array(
  70.                             'source' => art_get_option('art_menu_source'),
  71.                             'depth' => art_get_option('art_menu_depth'),
  72.                             'menu' => 'primary-menu',
  73.                             'class' => 'art-hmenu' 
  74.                         )
  75.                     );
  76.                 }  
  77.                 ?>
  78.                 </div>
  79.             </div>
Advertisement
Add Comment
Please, Sign In to add comment