]> git.openstreetmap.org Git - stateofthemap.git/blob - single.php
RefreshWP 1.5
[stateofthemap.git] / single.php
1 <?php get_header(); ?>
2 <?php get_sidebar(); ?>
3 <div id="main">
4                                 
5   <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
6         
7                         
8                                 <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
9                                                 <?php if (function_exists("the_bunny_tags")) {
10                                                 the_bunny_tags();
11                                                 }
12                                         ?>
13                                                                         <?php the_content('Read the rest of this entry &raquo;'); ?>
14                                         <!--
15                                                 <?php trackback_rdf(); ?>
16                                         -->
17                         
18                         <p class="post-footer align-right">
19                                 Posted in <?php the_category(', ') ?> on <span class="date"><?php the_time('F jS, Y') ?></span> <!-- by <?php the_author() ?> --> <?php edit_post_link('Edit this entry.','',''); ?>
20                                                 
21                                                 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
22                                                         // Both Comments and Pings are open ?>
23                                                         <br />You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
24                                                 
25                                                 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
26                                                         // Only Pings are Open ?>
27                                                         <br />Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
28                                                 
29                                                 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
30                                                         // Comments are open, Pings are not ?>
31                                                         <br />You can skip to the end and leave a response. Pinging is currently not allowed.
32                         
33                                                 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
34                                                         // Neither Comments, nor Pings are open ?>
35                                                         <br />Both comments and pings are currently closed.                     
36                                                 
37                                                 <?php } ?>
38                                 
39                         </p>
40                 
41         <?php comments_template(); ?>
42         
43             <div>
44                         <div class="alignleft"><small><?php previous_post_link('&laquo; %link') ?></small></div>
45                         <div class="alignright"><small><?php next_post_link('Next: %link &raquo;') ?></small></div>
46                 </div>
47         
48         <?php endwhile; else: ?>
49         <p>Sorry, no posts matched your criteria.</p>
50 <?php endif; ?>
51 </div>
52                 
53                 <!-- content-wrap ends here --> 
54                 </div>
55 <?php get_footer(); ?>