Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <?php if (have_posts()) : ?>
- <?php if (is_category()) { ?>
- <h2 class="title"><?php single_cat_title(); ?></h2>
- <?php } elseif (is_month()) { ?>
- <h2 class="title">Posts from <?php the_time('F, Y'); ?></h2>
- <?php } elseif (is_year()) { ?>
- <h2 class="title">Posts from <?php the_time('Y'); ?></h2>
- <?php } ?>
- <?php while (have_posts()) : the_post(); ?>
- <div <?php post_class(); ?>>
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <?php if (has_post_thumbnail() ) { ?>
- <a href="<?php the_permalink(); ?>" class="post-thumbnail"><?php the_post_thumbnail (); ?></a>
- <?php } else { ?>
- <a href="<?php the_permalink(); ?>" class="post-thumbnail"><img src="<?php bloginfo('max&muse_url'); ?>" /> </a>
- <?php } ?>
- <?php the_content(''); ?>
- <div class="post-text">
- <ul>
- <li class="date"><?php the_time('jS F Y'); ?> </li>
- <li class="category">Posted in <a href=" "><?php the_category(); ?></a></li>
- <li class="comment-count"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></li>
- <li class="read-more"><a href="<?php the_permalink() ?>#more-<?php the_ID(); ?>">Continue reading</a></li>
- </ul>
- </div><!--end post-text-->
- </div><!--end post-->
- <?php endwhile; ?>
- <div id="pagenav">
- <div class="pagenav">
- <ul>
- <li><a href="#" class="prevnext disablelink">« previous<?php next_posts_link ('Older articles'); ?></a></li>
- <li><a href="#" class="currentpage">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#" class="prevnext">next »<?php previous_posts_link ('Newer articles'); ?></a></li>
- </ul>
- </div><!--end pagenav-->
- </div>
- <?php else : ?>
- <div class="nothing">
- <h2>Nothing Found</h2>
- <p>Sorry, but you are looking for something that isn't here.</p>
- <p><a href="<?php echo get_option ('blog'); ?>">Return to blog page</a></p>
- <?php include (TEMPLATEPATH . '/searchform.php'); ?>
- </div><?php endif; ?>
- </div><!--end content-->
- <?php get_sidebar(); ?>
- </div><!--end container-->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement