source: trunk/www.guidonia.net/wp/wp-content/themes/fusion/single.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 3.0 KB
Line 
1<?php /* Fusion/digitalnature */ ?>
2<?php get_header(); ?>
3
4 <!-- mid content -->
5 <div id="mid-content">
6 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
7 <div class="navigation">
8 <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
9 <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
10 <div class="clear"></div>
11 </div>
12
13 <?php if (function_exists("post_class")) { ?>
14 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
15 <?php } else { ?>
16 <div class="post" id="post-<?php the_ID(); ?>">
17 <?php } ?>
18 <?php if (!get_post_meta($post->ID, 'hide_title', true)): ?><h2><?php the_title(); ?></h2><?php endif; ?>
19 <br />
20 <div class="entry">
21 <div class="postbody entry clearfix">
22 <?php the_content(__('Read the rest of this entry &raquo;', 'fusion')); ?>
23 </div>
24 <?php wp_link_pages(array('before' => '<p><strong>Pages: </strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
25 <?php
26 $posttags = get_the_tags();
27 if ($posttags) { ?>
28 <p class="tags"><?php the_tags(''); ?></p>
29 <div class="clear"></div>
30 <?php } ?>
31 <p class="postmetadata alt">
32 <small>
33 <?php
34 printf(__('This entry was posted on %s and is filed under %s. You can follow any responses to this entry through %s.', 'fusion'), get_the_time(__('l, F jS, Y','fusion')), get_the_category_list(', '), '<a href="'.get_post_comments_feed_link($post->ID).'" title="RSS 2.0">RSS 2.0</a>'); ?>
35
36 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
37 // Both Comments and Pings are open
38 printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'fusion'), trackback_url('',false));
39
40 } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
41 // Only Pings are Open
42 printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'fusion'), trackback_url('',false));
43
44 } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
45 // Comments are open, Pings are not
46 _e('You can skip to the end and leave a response. Pinging is currently not allowed.','fusion');
47
48 } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
49 // Neither Comments, nor Pings are open
50 _e('Both comments and pings are currently closed.','fusion');
51 } ?>
52 <?php edit_post_link(__('Edit this entry', 'fusion')); ?>
53 </small>
54 </p>
55 </div>
56 </div>
57 <?php comments_template(); ?>
58 <?php endwhile; else: ?>
59 <p><?php _e("Sorry, no posts matched your criteria.","fusion"); ?></p>
60 <?php endif; ?>
61 </div>
62 <!-- mid content -->
63 </div>
64 <!-- /mid -->
65
66 <?php get_sidebar(); ?>
67
68<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.