XPressME Integration Kit

Trac

source: trunk/wp-content/themes/xpress_default/index.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.4 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
22                if(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()) : ?>
29                        <div class="xpress-navi-bar">
30                                <?php if(function_exists('wp_pagenavi')) : ?>                   
31                                        <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
32                                <?php else : ?>
33                                        <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
34                                        <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
35                                <?php endif; ?>
36                        </div>
37                               
38                        <?php while (have_posts()) : the_post(); ?>
39
40                                <div class="xpress-post" id="post-<?php the_ID(); ?>">
41                                        <div class ="xpress-post-header">
42                                                <?php if (function_exists('hotDates')) { hotDates(); }?>
43                                                <div class ="xpress-post-title">
44                                                        <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>
45                                                </div>
46                                        </div>
47                                        <div class="xpress-post-entry">
48                                                <?php xpress_the_content(__('Read the rest of this entry &raquo;') ); ?>
49                                        </div>
50                                        <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
51                                        <div class ="xpress-post-footer">
52                                        <?php
53                                                the_time('Y/m/d l');
54                                                echo ' - ';
55                                                the_author_posts_link();
56                                                echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')';
57                                                echo ' | ';
58                                                // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
59                                                printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
60                                                echo ' | ';
61                                                edit_post_link(__('Edit', 'xpress'), '', ' | ');
62                                                comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
63                                        ?>
64                                        </div>
65                                </div>
66
67                        <?php endwhile; ?>
68                               
69                        <div class="xpress-navi-bar">
70                                <?php if(function_exists('wp_pagenavi')) : ?>                   
71                                        <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
72                                <?php else : ?>
73                                        <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
74                                        <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
75                                <?php endif; ?>
76                        </div>
77                               
78                <?php else : ?>
79
80                        <h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
81                        <p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'xpress'); ?></p>
82                        <?php include (get_template_directory() . "/searchform.php"); ?>
83
84                <?php endif; ?>
85        </div>
86</div>
87<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
88<hr class="xpress-border"></hr>
89<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.