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 | <?php if (have_posts()) : ?>
|
---|
12 |
|
---|
13 | <?php while (have_posts()) : the_post(); ?>
|
---|
14 | <div class="xpress-navi-bar">
|
---|
15 | <div class="alignleft"><?php xpress_left_arrow_post_link(true); ?></div>
|
---|
16 | <div class="alignright"><?php xpress_right_arrow_post_link(true); ?></div>
|
---|
17 | </div>
|
---|
18 |
|
---|
19 | <div class="xpress-post" id="post-<?php the_ID(); ?>">
|
---|
20 | <div class ="xpress-post-header">
|
---|
21 | <?php if (function_exists('hotDates')) { hotDates(); }?>
|
---|
22 | <div class ="xpress-post-title">
|
---|
23 | <?php if(function_exists('the_title_attribute')) : ?>
|
---|
24 | <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>
|
---|
25 | <?php else : ?>
|
---|
26 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
|
---|
27 | <?php endif; ?>
|
---|
28 | </div>
|
---|
29 | </div>
|
---|
30 |
|
---|
31 | <div class="xpress-post-entry">
|
---|
32 | <?php the_content('<p class="serif">' . __('Read the rest of this entry »', 'xpress') . '</p>'); ?>
|
---|
33 | </div>
|
---|
34 |
|
---|
35 | <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
|
---|
36 |
|
---|
37 | <div class ="xpress-post-footer">
|
---|
38 | <?php
|
---|
39 | the_time('Y/m/d l');
|
---|
40 | echo ' - ';
|
---|
41 | the_author_posts_link();
|
---|
42 | echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')';
|
---|
43 | echo ' | ';
|
---|
44 | // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
|
---|
45 | printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
|
---|
46 | echo ' | ';
|
---|
47 | edit_post_link(__('Edit', 'xpress'), '', ' | ');
|
---|
48 | comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') );
|
---|
49 | ?>
|
---|
50 | </div>
|
---|
51 |
|
---|
52 | <div id ="xpress-pings-block">
|
---|
53 | <h3><?php xpress_pings_number(__('No Trackback/Pingback', 'xpress'),__('One Trackback/Pingback', 'xpress'),__('% TrackBack/Pingback', 'xpress')) ?></h3>
|
---|
54 | <p class="xpress_pings_status"><small>
|
---|
55 | <?php
|
---|
56 | if ('open' == $post->ping_status) {
|
---|
57 | printf(__('You can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false));
|
---|
58 | } else {
|
---|
59 | _e('Pinging is currently not allowed.', 'xpress');
|
---|
60 | }
|
---|
61 | ?>
|
---|
62 | </small></p>
|
---|
63 | <?php xpress_pings_list(true) ?>
|
---|
64 | </div>
|
---|
65 |
|
---|
66 | <div id ="xpress-comments-block">
|
---|
67 | <?php comments_template(); ?>
|
---|
68 | </div>
|
---|
69 | </div>
|
---|
70 |
|
---|
71 | <div class="xpress-navi-bar">
|
---|
72 | <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div>
|
---|
73 | <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div>
|
---|
74 | </div>
|
---|
75 |
|
---|
76 |
|
---|
77 | <?php endwhile; ?>
|
---|
78 |
|
---|
79 | <div class="xpress-navi-bar">
|
---|
80 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
81 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
82 | <?php else : ?>
|
---|
83 | <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
|
---|
84 | <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
|
---|
85 | <?php endif; ?>
|
---|
86 | </div>
|
---|
87 |
|
---|
88 | <?php else : ?>
|
---|
89 | <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
|
---|
90 | <?php endif; ?>
|
---|
91 | </div>
|
---|
92 | </div>
|
---|
93 | <?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
|
---|
94 |
|
---|
95 | <?php get_footer(); ?>
|
---|
96 |
|
---|