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 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('template_url'); ?>
- <?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"><a href="<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>"</a></li>
- <li class="read-more"><a href="<?php the_permalink(); ?>">Continue reading</a></li>
- </ul>
- </div><!--end post-text-->
- </div><!--end featured-post-->
- <?php endwhile; ?>
- <?php comments_template(); ?>
- <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, nothing here.</p>
- <p><a href="<?php echo get_option ('blog'); ?>">Return to blog page</a></p>
- </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