Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 24 lines (21 sloc) 1.113 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<div class="post">
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>

<div class="cat-date">
<span class="posted">Posted in: </span><em><?php the_category(', ') ?></em></span>
<span class="sep">&nbsp;</span>
<span class="date">Date: <em><?php the_time('d F Y') ?></em></span>
</div><!-- .cat-date -->

<div class="post-teaser">
<?php if(has_post_thumbnail()) { ?>
<a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a>
<?php } else { echo '<img src="'.get_bloginfo("template_url").'/css/img/no-img-140x140.gif" alt="No image" />'; } ?>

<div class="text">
<?php the_content('<span class="more-link" title="Read More">Read More</span>'); ?>
<hr />
<div class="readMore">
<span>Author: </span><em><?php the_author_posts_link(); ?></em><br />
<span>Reaction: </span><em><a href="<?php comments_link(); ?>"><?php comments_number('Be The First to Comment', '1 Comment', '% Comments'); ?></a></em>
</div><!-- .readMore -->
</div><!-- .text -->
</div><!-- .post-teaser -->
</div><!-- .post -->
Something went wrong with that request. Please try again.