Line | |
---|
1 | <?php get_header(); ?>
|
---|
2 | <?php get_sidebar(); ?>
|
---|
3 |
|
---|
4 | <!-- Content -->
|
---|
5 | <div id="content">
|
---|
6 |
|
---|
7 | <?php if (have_posts()) : ?>
|
---|
8 | <?php while (have_posts()) : the_post(); ?>
|
---|
9 | <!-- Post -->
|
---|
10 | <div class="post" id="post-<?php the_ID(); ?>">
|
---|
11 | <div class="post-title">
|
---|
12 | <div class="post-date">
|
---|
13 | <span><?php the_time('d') ?></span>
|
---|
14 | <?php the_time('M') ?>
|
---|
15 | </div>
|
---|
16 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
|
---|
17 | Author: <?php the_author() ?> // Category: <?php the_category(', ') ?>
|
---|
18 | </div>
|
---|
19 | <div class="post-entry">
|
---|
20 | <?php the_content('Read more...'); ?>
|
---|
21 | </div>
|
---|
22 | <div class="post-info">
|
---|
23 | <?php comments_popup_link('Comments (0)', 'Comment (1)', 'Comments (%)'); ?> // <a href="<?php the_permalink() ?>#respond">Add Comment</a>
|
---|
24 | </div>
|
---|
25 | </div>
|
---|
26 | <!-- /Post -->
|
---|
27 | <?php endwhile; ?>
|
---|
28 | <!-- Navigation -->
|
---|
29 | <div class="navigation">
|
---|
30 | <div class="navigation-previous"><?php next_posts_link('« Previous Entries') ?></div>
|
---|
31 | <div class="navigation-next"><?php previous_posts_link('Next Entries »') ?></div>
|
---|
32 | </div>
|
---|
33 | <!-- /Navigation -->
|
---|
34 | <?php else : ?>
|
---|
35 | <!-- Post -->
|
---|
36 | <div class="post">
|
---|
37 | <div class="post-title">
|
---|
38 | <h2>Not Found</h2>
|
---|
39 | </div>
|
---|
40 | <div class="post-entry">
|
---|
41 | <p>Sorry, but you are looking for something that isn't here.</p>
|
---|
42 | </div>
|
---|
43 | </div>
|
---|
44 | <!-- /Post -->
|
---|
45 | <?php endif; ?>
|
---|
46 |
|
---|
47 | <div class="clear"></div>
|
---|
48 |
|
---|
49 | </div>
|
---|
50 | <!-- /Content -->
|
---|
51 |
|
---|
52 | <?php get_footer(); ?> |
---|
Note:
See
TracBrowser
for help on using the repository browser.