Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (29 sloc) 1.134 kb
4d33979 Initial Commit
ModLearning Team authored
1
2 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
3
4 <?php if ( has_post_thumbnail() ) : ?>
5
6 <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
2e13901 Updated theme styling
ModLearning Team authored
7 <?php the_post_thumbnail( 'blog-img' ); ?>
4d33979 Initial Commit
ModLearning Team authored
8 </a>
9
10 <?php endif; ?>
11
12 <h2>
13 <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
14 </h2>
15
16 <div class="entry-meta">
17 <span class="date"><?php echo get_the_date(); ?></span>
18 <?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'the-comment'); ?>
19 </div>
20
21 <?php the_content(); ?>
22
23 <div class="entry-footer">
24 <span class="the-author">By <?php the_author(); ?></span>
2e13901 Updated theme styling
ModLearning Team authored
25 <span class="cats">Categories:</span> <?php echo get_the_category_list( ', ' ); ?>
4d33979 Initial Commit
ModLearning Team authored
26 </div>
27
28 <div class="the-tags">
29 <?php
30 $posttags = get_the_tags();
31 if ($posttags) {
32 foreach($posttags as $tag) {
33 echo '<span class="label">' . $tag->name . '</span> ';
34 }
35 }
36 ?>
37 </div>
38
39 </article>
Something went wrong with that request. Please try again.