-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
42 lines (37 loc) · 1.41 KB
/
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
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?>>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="date">
<div class="bg">
<span class="day"><?php the_time('d') ?></span>
<span><?php the_time('M') ?></span>
</div>
</div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
<div class="cl"> </div>
</div>
<div class="meta">
<div class="bg">
<span class="comments-num"><?php comments_popup_link('No Comments', '1 Comment', '% Comments') ?></span>
<p>Posted <!-- by <?php the_author_link() ?> --> in <?php the_category(', ') ?></p>
</div>
<div class="bot"> </div>
</div>
</div>
<?php endwhile; ?>
<?php if(function_exists('wp_pagenavi')) : wp_pagenavi(); else :?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php endif ?>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>