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 $postCount=0; ?>
- <?php while (have_posts()) : the_post();?>
- <?php $postCount++;?>
- <div class="entry entry-<?php echo $postCount ;?>">
- <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
- <div class="the_content">
- <?php the_content('Continue Reading »'); ?>
- <?php if(is_page()) { ?>
- <ul>
- <?php global $id; wp_list_pages("title_li=&child_of=$id"); ?>
- </ul>
- <?php } ?>
- <div class="link_pages">
- <?php wp_link_pages(); ?>
- </div>
- </div><!--end the_content-->
- <div class="comments">
- <?php comments_template( '', true ); ?>
- </div><!--end comments-->
- </div><!--end entry-->
- <?php endwhile; ?>
- <div id="prevnext">
- <?php previous_posts_link('« Newer') ?> <?php next_posts_link('Older »') ?>
- </div><!--end navigation-->
- <?php else : ?>
- <div class="entry">
- <p> </p>
- <?php get_search_form(); ?>
- </div><!--end the_content-->
- <ul><?php wp_list_categories('title_li=<h2>Categories</h2>'); ?></ul>
- <p> </p>
- </div><!--end entry-->
- <?php endif; ?>
- </div><!--end content-->
- <?php /* get_sidebar(); */ ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement