XPressME Integration Kit

Trac

source: trunk/wp-content/themes/xpress_default/single.php @ 147

Last change on this file since 147 was 147, checked in by toemon, 15 years ago

コメントからトラックバック、ピンバックを省く、#85
デフォルトテーマ、コメント部分の調整 #80

File size: 2.9 KB
Line 
1<?php get_header(); ?>
2
3<div id="xpress_wrap">
4<?php
5        if(xpress_is_theme_sidebar_disp()) {
6                echo '<div id="xpress_content" class="narrowcolumn">'; 
7        } else {
8                echo '<div id="xpress_content" class="narrowcolumn_nonside">';
9        }       
10?>
11                <div id="xpress-header-bar">
12                        <div class="xpress-header-title">
13                                <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
14                        </div>
15                        <div class="xpress-conditional-title">
16                                &nbsp;( <?php xpress_conditional_title();?> )
17                        </div>
18                        <div class="xpress-description">
19                                <?php bloginfo('description'); ?>
20                        </div>
21                        <div class="xpress-operation-link">
22                                <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>
23                                <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?>
24                        </div>
25                </div>
26                <hr class="xpress-border">
27
28        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
29
30                <div class="xpress-navi-bar">
31                        <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div>
32                        <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div>
33                </div>
34
35                <div class="xpress-post" id="post-<?php the_ID(); ?>">
36                        <div class ="xpress-post-header">
37                                <?php if (function_exists('hotDates')) { hotDates(); }?>
38                                <div class ="xpress-post-title">
39                                        <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
40                                </div>
41                        </div>
42
43                        <div class="xpress-post-entry">
44                                <?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'xpress') . '</p>'); ?>
45                        </div>
46                        <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
47                        <div class ="xpress-post-footer">
48                                <?php
49                                        the_time('Y/m/d l');
50                                        echo ' - ';
51                                        the_author_posts_link();
52                                        echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')';
53                                        echo ' | ';
54                                        // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
55                                        printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
56                                        echo ' | ';
57                                        edit_post_link(__('Edit', 'xpress'), '', ' | ');
58                                        comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
59                                ?>
60                        </div>
61       
62                        <div id ="xpress-comments-block">
63                                <?php comments_template('', true); ?>
64                        </div>
65                </div>
66
67       
68
69        <?php endwhile; else: ?>
70
71                <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
72
73<?php endif; ?>
74                <div class="xpress-navi-bar">
75                        <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div>
76                        <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div>
77                </div>
78
79        </div>
80</div>
81<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
82<hr class="xpress-border">
83<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.