XPressME Integration Kit

Trac

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

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

bump Ver0.22 #85 トラックバックリスト表示実装 #80 デフォルトテーマデザイン完了

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