Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (34 sloc) 1.15 KB
<?php
/*
* Template : Single
*
* @package WordPress
* @subpackage Clean Theme
*/
get_header();
?>
<section id="main">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<header class="post-header">
<h1 class="post-title"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<p class="post-date">Le <?php the_time('j F Y') ?></p>
<p class="post-author">par <?php the_author() ?></p>
<p class="post-comments"><?php comments_popup_link('Commenter', '1 commentaire', '% commentaires'); ?></p>
<div class="cb"></div>
</header>
<section class="post-content">
<?php the_content('Read the rest of this entry &raquo;'); ?>
</section>
<footer class="post-footer">
<p class="post-category">Categories : <?php get_category_clean(get_the_ID()); ?></p>
<p class="post-tags"><?php the_tags('Tags: ', ', ', '<br />'); ?></p>
</footer>
</article>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php endif; ?>
</section>
<?php get_sidebar(); ?>
<?php get_footer(); ?>