XPressME Integration Kit

Trac

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

Last change on this file since 237 was 237, checked in by toemon, 16 years ago

カスタムテンプレート関数名変更
is_xpress_contributor() -> xpress_is_contributor()
get_xpress_calendar() -> xpress_get_calendar()

File size: 2.2 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>
28<div id="xpress_page">
29<div id="xpress-header-bar">
30        <div id="xpress-header-bar-top">
31                <div class="xpress-header-title">
32                        <?php  if (xpress_selected_author_id(false)) echo get_avatar(xpress_selected_author_id(false),$size = '32'); ?>
33                        <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
34                </div>
35                <div class="xpress-conditional-title">
36                        &nbsp; <?php xpress_conditional_title();?>
37                </div>
38        </div>
39        <div class="xpress-description">
40                <?php bloginfo('description'); ?>
41        </div>
42        <div class="xpress-operation-link">
43                <?php if (xpress_is_wpmu()) : ?>
44                <a href="<?php echo get_blog_details(1)->siteurl ; ?>/"><?php _e('Main Page','xpress')?></a> |
45                <?php endif; ?>
46                <a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a>
47                <?php if(xpress_is_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?>
48        </div>
49</div>
50<hr class="xpress-border"></hr>
Note: See TracBrowser for help on using the repository browser.