-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
33 lines (31 loc) · 1.29 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
<?php get_header();?>
<div id="container">
<?php if(have_posts()):?><?php while(have_posts()):the_post();?>
<div id="post-<?php the_ID();?>" <?php post_class();?>>
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title();?>"><?php the_title();?></a></h2>
<div class="entry">
<span class="postmetadata time"><a class="permalink_date" href="<?php the_permalink(); ?>"><?php the_time('F j, Y')?></a></span>
<?php the_content();?>
<?php wp_link_pages('<p><strong>Pages:</strong>','</p>','number');?>
<p class="postmetadata">
<?php the_tags( 'Tags for this article: ', ', ','.' ); ?>
<?php _e('Filed under:','generic');?><?php the_category(', ')?>
<?php _e(' by ','generic'); ?><?php the_author();?><br/>
<?php comments_popup_link('No comments »','1 Comment »','% Comments »');?>
<?php edit_post_link('Edit','|','');?>
</p>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<span class="alignleft"><?php previous_posts_link('« Newer Entries') ?></span>
<span class="alignright"><?php next_posts_link('Older Entries »','') ?></span>
</div>
<?php else : ?>
<h2><?php _e('Not Found','generic');?></h2>
<?php endif; ?>
</div> <!--#container-->
<?php get_sidebar();?>
<?php get_footer();?>
</body>
</html>