-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
45 lines (23 loc) · 1002 Bytes
/
index.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
45
<?php get_header(); ?> <!-- index starts here -->
<div class="post">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="date" id="post-<?php the_ID(); ?>"><?php the_time('F jS, Y') ?></div>
<div class="link"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<?php endwhile; ?>
</div><!-- post end -->
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous') ?></div>
<div class="alignright"><?php previous_posts_link('Next »') ?></div>
</div>
<?php else : ?>
<div class="post">
<div class="date"Not Found</div>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
</div><!-- end of post -->
<?php endif; ?>
<?php get_footer(); ?>