-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
45 lines (33 loc) · 1.15 KB
/
Copy pathindex.php
File metadata and controls
45 lines (33 loc) · 1.15 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="content-item">
<div class="content-dets">
<h3>Posted on <?php the_time('M j, Y'); ?></h3>
<ul class="dets">
<li class="comments-link"><a href="<?php the_permalink() ?>#comments" title=""><?php comments_number('0 Comments','1 Comment','% Comments'); ?></a></li>
</ul>
</div>
<div class="content-body">
<h2 class="post-title"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_content('Continue Reading'); ?>
</div>
</div>
</div> <!-- content-item -->
<?php endwhile; else: ?>
<div class="content-item">
<div class="content-body">
<h2>That's a No Go!!!</h2>
<div class="entry">
<p>Sorry, but what you are looking for isn't here</p>
</div>
</div>
<div class="content-dets">
<h3>Nothing</h3>
</div>
</div> <!-- content-item -->
<?php endif; ?>
</div> <!-- content -->
<?php if(function_exists('sf_pagenavi')) { sf_pagenavi('', '', '', '', 20, false);} ?>
<?php get_footer(); ?>