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

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 1.4 KB
Line 
1<?php get_header(); ?>
2<?php get_sidebar(); ?>
3
4 <!-- Content -->
5 <div id="content">
6
7 <?php if (have_posts()) : ?>
8 <?php while (have_posts()) : the_post(); ?>
9 <!-- Post -->
10 <div class="post" id="post-<?php the_ID(); ?>">
11 <div class="post-title">
12 <div class="post-date">
13 <span><?php the_time('d') ?></span>
14 <?php the_time('M') ?>
15 </div>
16 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
17 Author: <?php the_author() ?> &nbsp;// &nbsp;Category: <?php the_category(', ') ?>
18 </div>
19 <div class="post-entry">
20 <?php the_content('Read more...'); ?>
21 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
22 <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
23 <?php edit_post_link('Edit this entry.','',''); ?>
24 </div>
25 <?php comments_template(); ?>
26 </div>
27 <!-- /Post -->
28 <?php endwhile; ?>
29 <?php else : ?>
30 <!-- Post -->
31 <div class="post">
32 <div class="post-title">
33 <h2>Not Found</h2>
34 </div>
35 <div class="post-entry">
36 <p>Sorry, but you are looking for something that isn't here.</p>
37 </div>
38 </div>
39 <!-- /Post -->
40 <?php endif; ?>
41
42 <div class="clear"></div>
43
44 </div>
45 <!-- /Content -->
46
47<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.