Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="content">
- <?php query_posts("cat=4"); ?>
- <?php if(have_posts()) : while (have_posts()) : the_post(); ?>
- <div class="entry-title">
- <?php the_title(); ?>
- </div>
- <div class="entry-date">
- <?php the_time('F'); ?>
- <?php the_time('d'); ?>,
- <?php the_time('Y'); ?>
- </div>
- <div class="entry">
- <?php the_content(__('More...')); ?>
- <?php wp_link_pages(); ?>
- </div>
- <div class="comments">Posted By: <span class="meta"><?php the_author(); ?></span> | Under: <span class="meta"><?php foreach((get_the_category()) as $category) {echo $category->cat_name . ' ';} ?></span>
- <hr />
- </div>
- <?php endwhile; else: ?>
- <p><?php e_('Sorry, no posts matched your criteria'); ?></p>
- <?php endif; ?>
- <?php wp_reset_query(); ?>
- </div>
- <div id="box">
- <div class="leftbox">
- <h3>Previous Posts</h3>
- <ul>
- <?php get_archives('postbypost', 5); ?>
- </ul>
- </div>
- <div class="clear"></div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement