forked from pippinsplugins/EDD-Starter-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
44 lines (27 loc) · 1.2 KB
/
single.php
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php get_header(); ?>
<div id="main-content" class="row">
<div class="eightcol">
<div class="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="entry">
<h2 class="title"><?php the_title(); ?></h2>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
<?php the_content('Read the rest of this entry »'); ?>
<p class="postinfo"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endwhile; ?>
<?php else : ?>
<div class="entry">
<h2 class="title">Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
</div><!--end .entry-->
<?php endif; ?>
</div><!--end .content-->
</div><!--end .eightcol-->
<div class="fourcol last">
<?php get_sidebar(); ?>
</div><!--end .fourcol-->
</div><!--end .row#main-content-->
<?php get_footer(); ?>