1 | <?php get_header(); ?>
|
---|
2 |
|
---|
3 |
|
---|
4 | <div id="xpress_wrap">
|
---|
5 | <?php
|
---|
6 | if(xpress_is_theme_sidebar_disp()) {
|
---|
7 | echo '<div id="xpress_content" class="narrowcolumn">';
|
---|
8 | } else {
|
---|
9 | echo '<div id="xpress_content" class="narrowcolumn_nonside">';
|
---|
10 | }
|
---|
11 | ?>
|
---|
12 | <?php if (have_posts()) : ?>
|
---|
13 | <div class="xpress-navi-bar">
|
---|
14 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
15 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
16 | <?php else : ?>
|
---|
17 | <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
|
---|
18 | <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
|
---|
19 | <?php endif; ?>
|
---|
20 | </div>
|
---|
21 |
|
---|
22 | <?php while (have_posts()) : the_post(); ?>
|
---|
23 |
|
---|
24 | <div class="xpress-post" id="post-<?php the_ID(); ?>">
|
---|
25 | <div class ="xpress-post-header">
|
---|
26 | <?php if (function_exists('hotDates')) { hotDates(); }?>
|
---|
27 | <div class ="xpress-post-title">
|
---|
28 | <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>
|
---|
29 | </div>
|
---|
30 | </div>
|
---|
31 | <div class="xpress-post-entry">
|
---|
32 | <?php xpress_the_content(__('Read the rest of this entry »', 'xpress') ); ?>
|
---|
33 | </div>
|
---|
34 | <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
|
---|
35 | <div class ="xpress-post-footer">
|
---|
36 | <?php
|
---|
37 | the_time('Y/m/d l');
|
---|
38 | echo ' - ';
|
---|
39 | the_author_posts_link();
|
---|
40 | echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')';
|
---|
41 | echo ' | ';
|
---|
42 | // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
|
---|
43 | printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
|
---|
44 | echo ' | ';
|
---|
45 | edit_post_link(__('Edit', 'xpress'), '', ' | ');
|
---|
46 | comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') );
|
---|
47 | ?>
|
---|
48 | </div>
|
---|
49 | </div>
|
---|
50 |
|
---|
51 | <?php endwhile; ?>
|
---|
52 |
|
---|
53 | <div class="xpress-navi-bar">
|
---|
54 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
55 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
56 | <?php else : ?>
|
---|
57 | <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
|
---|
58 | <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
|
---|
59 | <?php endif; ?>
|
---|
60 | </div>
|
---|
61 |
|
---|
62 | <?php else : ?>
|
---|
63 |
|
---|
64 | <h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
|
---|
65 | <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'xpress'); ?></p>
|
---|
66 | <?php include (get_template_directory() . "/searchform.php"); ?>
|
---|
67 |
|
---|
68 | <?php endif; ?>
|
---|
69 | </div>
|
---|
70 | </div>
|
---|
71 | <?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
|
---|
72 |
|
---|
73 | <?php get_footer(); ?>
|
---|