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() ?>
|
---|
18 | </div>
|
---|
19 | <div class="post-entry">
|
---|
20 | <?php the_content('Read <span>more...</span>'); ?>
|
---|
21 | <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
|
---|
22 | <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
|
---|
23 | </div>
|
---|
24 | </div>
|
---|
25 | <!-- /Post -->
|
---|
26 | <?php endwhile; ?>
|
---|
27 | <?php else : ?>
|
---|
28 | <!-- Post -->
|
---|
29 | <div class="post">
|
---|
30 | <div class="post-title">
|
---|
31 | <h2>Not Found</h2>
|
---|
32 | </div>
|
---|
33 | <div class="post-entry">
|
---|
34 | <p>Sorry, but you are looking for something that isn't here.</p>
|
---|
35 | </div>
|
---|
36 | </div>
|
---|
37 | <!-- /Post -->
|
---|
38 | <?php endif; ?>
|
---|
39 |
|
---|
40 | <div class="clear"></div>
|
---|
41 |
|
---|
42 | </div>
|
---|
43 | <!-- /Content -->
|
---|
44 |
|
---|
45 | <?php get_footer(); ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.