Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="info-title">information</div>
- <?php if (is_home()){
- query_posts('&cat=4');
- }?>
- <?php if (have_posts()) : ?>
- <div id="info-container">
- <?php while (have_posts()) : the_post(); ?>
- <? wp_reset_query();?>
- <?php query_posts("posts_per_page=6");the_post();?>
- <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <h2 id="info-head"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
- <?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>
- <div class="Category-info">
- <?php the_content(); ?>
- </div><!--cat info close-->
- <div class="postmetadata">
- <?php the_tags('Tags: ', ', ', '<br />'); ?>
- Posted in <?php the_category(', ') ?> |
- <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
- </div>
- <? wp_reset_query();?>
- </div>
- <?php endwhile;
- wp_reset_query(); ?>
- </div><!-- info container end-->
- <?php include (TEMPLATEPATH . '/inc/nav.php' ); ?>
- <?php else : ?>
- <h2>Not Found</h2>
- <?php endif; ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement