This repository has been archived by the owner on Jan 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.php
42 lines (30 loc) · 1.73 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(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
<?php while(have_posts()) : the_post() ?>
<div class="post lastfive" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<span class="postmetadata"> <?php the_time(get_option("date_format")); ?> • <?php comments_popup_link(__('No Comments', 'chaoticsoul'), __('1 Comment', 'chaoticsoul'), __('% Comments', 'chaoticsoul')); ?> <?php edit_post_link(__('Edit', 'chaoticsoul'), '(', ')'); ?></span>
<div class="entry">
<?php the_content("<span class=\"continue\">" . __('Continue reading','') . " '" . the_title('', '', false) . "'</span>"); ?>
<p class="postmetadata">
<?php printf(__('Posted in %s', 'chaoticsoul'), get_the_category_list(', ')); ?>
<?php the_tags('<br />' . __( 'Tags' ) . ': ', ', ', ''); ?>
</p>
</div>
</div>
<?php endwhile; ?>
<?php else : ?>
<h2 class="center"><?php _e('Not Found', 'chaoticsoul'); ?></h2>
<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'chaoticsoul'); ?></p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
<div class="navigation">
<?php $_SERVER['REQUEST_URI'] = preg_replace("/(.*?).php(.*?)&(.*?)&(.*?)&_=/","$2$3",$_SERVER['REQUEST_URI']); ?>
<div class="left"><?php next_posts_link('<span>«</span> '.__('Previous Entries','').''); ?></div>
<div class="right"><?php previous_posts_link(''.__('Next Entries','').' <span>»</span>'); ?></div>
<div class="clear"></div>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>