Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.1.5
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (35 sloc) 1.642 kb
<?php
/**
* @package WordPress
* @subpackage Tersus
*/
?>
<?php get_header(); ?>
<section id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<?php if(!has_post_format('aside') && !has_post_format('image')) { ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>"><?php the_author_meta('display_name'); ?></a></cite></span> on <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_time('c') ?>"><?php the_time('l, F jS, Y') ?></a>.</p>
<?php } ?>
<?php the_content('Read the rest of this item'); ?>
<?php if(!has_post_format('aside') && !has_post_format('image')) { ?>
<?php if (has_tag()) echo '<p>Tags:</p>'; the_tags('<ul><li>','</li><li>','</li></ul>'); ?>
<p>Categories:</p>
<ul>
<li><?php the_category('</li><li>') ?></li>
</ul>
<?php } ?>
<p><a href="<?php the_permalink(); ?>#comment"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a></p>
<?php edit_post_link('Edit', '<p>', '</p>'); ?>
</article>
<?php endwhile; ?>
<p><?php next_posts_link('Older'); delim_posts_link(); previous_posts_link('Newer') ?></p>
<?php else : ?>
<h2>Not found.</h2>
<p>Sorry, you seem to be looking for something that simply isn’t here.</p>
<?php endif; ?>
</section>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Jump to Line
Something went wrong with that request. Please try again.