1 | <?php get_header(); ?>
|
---|
2 |
|
---|
3 | <div id="xpress_content" class="widecolumn">
|
---|
4 |
|
---|
5 | <div id="xpress_header">
|
---|
6 | <div id="xpress_headerimg">
|
---|
7 | <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
|
---|
8 | <div class="description"><?php bloginfo('description'); ?></div>
|
---|
9 | </div>
|
---|
10 | </div>
|
---|
11 |
|
---|
12 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
---|
13 |
|
---|
14 | <div class="xpress_single_navigation">
|
---|
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="post" id="post-<?php the_ID(); ?>">
|
---|
20 | <?php if (function_exists('hotDates')) { hotDates(); }?>
|
---|
21 | <h2><?php the_title(); ?></h2>
|
---|
22 | <small><?php the_time(__('F jS, Y', 'xpress')) ?> <!-- by <?php the_author() ?> --></small>
|
---|
23 |
|
---|
24 | <div class="entry">
|
---|
25 | <?php the_content('<p class="serif">' . __('Read the rest of this entry »', 'xpress') . '</p>'); ?>
|
---|
26 |
|
---|
27 | <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
|
---|
28 | <?php echo '<p class="postmeta">' ;/* _e('Posted:', 'xpress'); echo ' '; the_author_posts_link(); echo '<br />' ; */?><?php if(function_exists('the_tags')) : ?><?php the_tags(__('Tags:', 'xpress') . ' ', ', ', '<br />'); ?><?php endif; ?><?php printf(__('Posted in %s', 'xpress'), get_the_category_list(' • ') . '</p>'); ?>
|
---|
29 |
|
---|
30 | <p class="postmetadata alt">
|
---|
31 | <small>
|
---|
32 | <?php /* This is commented, because it requires a little adjusting sometimes.
|
---|
33 | You'll need to download this plugin, and follow the instructions:
|
---|
34 | http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
|
---|
35 | /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); $time_since = sprintf(__('%s ago', 'xpress'), time_since($entry_datetime)); */ ?>
|
---|
36 | <?php printf(__('This entry was posted %1$s on %2$s at %3$s and is filed under %4$s.', 'xpress'), $time_since, get_the_time(__('l, F jS, Y', 'xpress')), get_the_time(), get_the_category_list(' • ')); ?>
|
---|
37 | <?php if (function_exists('get_post_comments_feed_link')) : ?>
|
---|
38 | <?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "xpress"), get_post_comments_feed_link()); ?>
|
---|
39 | <?php else : ?>
|
---|
40 | <?php _e('You can follow any responses to this entry through the', 'xpress'); ?><?php comments_rss_link('RSS 2.0'); ?><?php _e('feed.', 'xpress'); ?>
|
---|
41 | <?php endif; ?>
|
---|
42 |
|
---|
43 | <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
---|
44 | // Both Comments and Pings are open ?>
|
---|
45 | <?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
|
---|
46 |
|
---|
47 | <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
---|
48 | // Only Pings are Open ?>
|
---|
49 | <?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
|
---|
50 |
|
---|
51 | <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
---|
52 | // Comments are open, Pings are not ?>
|
---|
53 | <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'xpress'); ?>
|
---|
54 |
|
---|
55 | <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
---|
56 | // Neither Comments, nor Pings are open ?>
|
---|
57 | <?php _e('Both comments and pings are currently closed.', 'xpress'); ?>
|
---|
58 |
|
---|
59 | <?php } edit_post_link(__('Edit this entry', 'xpress'),'','.'); ?>
|
---|
60 |
|
---|
61 | </small>
|
---|
62 | </p>
|
---|
63 |
|
---|
64 | </div>
|
---|
65 | </div>
|
---|
66 |
|
---|
67 | <?php comments_template(); ?>
|
---|
68 |
|
---|
69 | <?php endwhile; else: ?>
|
---|
70 |
|
---|
71 | <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
|
---|
72 |
|
---|
73 | <?php endif; ?>
|
---|
74 |
|
---|
75 | </div>
|
---|
76 |
|
---|
77 | <?php get_footer(); ?>
|
---|