forked from aaronds/bristol-hackspace-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
executable file
·31 lines (26 loc) · 902 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
<?php get_header(); ?>
<article>
<div class="inner">
<?php if (have_posts()) { ?>
<?php while (have_posts()) {
the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="post_header">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p><?php the_time('jS M Y') ?> <!-- by <?php the_author() ?> --></p>
</div>
<?php the_content('Read the rest of this entry »'); ?>
</div>
<?php } ?>
<ul class="prevnext">
<li class="next"><?php previous_posts_link('Newer Entries') ?></li>
<li class="prev"><?php next_posts_link('Older Entries') ?></li>
</ul>
<?php } else { ?>
<h2>Not Found</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php } ?>
</div>
</article>
<?php get_sidebar(); ?>
<?php get_footer(); ?>