-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsingle.php
More file actions
29 lines (21 loc) · 763 Bytes
/
single.php
File metadata and controls
29 lines (21 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div class="main-content twelve columns omega">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div class="featured-image"><?php the_post_thumbnail('featured-image'); ?></div>
<div class="post-info fourteen columns">
<h2 class="title ten columns alpha">
<?php the_title(); ?>
</h2>
</div>
<div class="entry">
<?php the_content(); ?>
<footer class="post-footer">
<a class="moretag" href="<?php the_permalink($post->ID); ?>">Read More...</a>
<span class="post-categories"><?php the_category(', ') ?></span>
</footer>
</div>
</article>
<?php endwhile; endif; ?>
</div>