XPressME Integration Kit

Trac

source: trunk/xpressme_integration_kit/wp-content/themes/xpress_default/header.php

Last change on this file was 646, checked in by toemon, 14 years ago

role属性がW3C Validationで警告になるバグ修正 Fixes #364

File size: 3.1 KB
Line 
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 if (function_exists('language_attributes')) { language_attributes(); }?>>
3
4<head profile="http://gmpg.org/xfn/11">
5<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
6
7<title><?php bloginfo('name');
8if ( is_single() ) {
9        _e('&raquo; Blog Archive', 'xpress');
10}
11wp_title(); ?></title>
12
13<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
14<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
15<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
16<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
17<?php
18// comment-replay.js load  @since 2.7.0
19if (function_exists('wp_enqueue_script')) { // not function Ver2.0
20        if ( is_singular() ){  //not function Ver2.0
21                wp_enqueue_script( 'comment-reply' );
22        }
23}
24?>
25<?php wp_head(); ?>
26</head>
27<body <?php if(function_exists('body_class')) body_class(); ?>>
28<div id="xpress_page">
29        <div id="xpress-header-bar">
30                <!-- <div id="xpress_header" role="banner"> -->
31                <div id="xpress_header">
32                        <div id="xpress-header-bar-top">
33                                <div class="xpress-header-title">
34                                        <?php  if (xpress_selected_author_id('echo=0') && function_exists('get_avatar')) echo get_avatar(xpress_selected_author_id('echo=0'),$size = '32'); ?>
35                                        <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
36                                </div>
37                                <div class="xpress-conditional-title">
38                                        &nbsp; <?php xpress_conditional_title();?>
39                                </div>
40                                <div class="xpress-description">
41                                        <?php bloginfo('description'); ?>
42                                </div>
43                        </div><!-- #xpress-header-bar-top -->
44       
45                        <!-- <div id="menu_div" role="navigation"> -->
46                        <div id="menu_div">
47                                <div id="access">
48                                        <?php if (function_exists('wp_nav_menu')) wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-aheader' ) ); ?>
49                                </div><!-- #access -->
50                                <div id="xpress-menu">
51                                        <div class="menu-header">
52                                                <div class="menu">
53                                                        <ul>
54                                                                <?php
55                                                                        if(xpress_is_multiblog()){
56                                                                                $blog_details = get_blog_details(1);
57                                                                                $site_url = $blog_details->siteurl;
58                                                                                echo '<li><a href="' . $site_url . '/">' . __('Main Page','xpress') . '</a></li>';
59                                                                        }
60                                                                ?>
61                                                                <li><a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a></li>
62                                                                <?php if(xpress_is_contributor()) { echo '<li>'. xpress_post_new_link('link_title='. __('Post New','xpress'). '&echo=0').'</li>'; }?>
63                                                        </ul>
64                                                </div><!-- #menu -->
65                                        </div><!-- #menu-header -->
66                                </div><!-- #xpress-menu -->
67                        </div><!-- #menu_div -->
68                </div><!-- #xpress_header -->
69        </div><!-- #xpress-header-bar -->
Note: See TracBrowser for help on using the repository browser.