Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $my_query = new WP_Query('cat=8&showposts=4'.'&paged='.$paged);
- while ( $my_query->have_posts() ) : $my_query->the_post();
- ?>
- <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <div class="title-box-secondary">
- <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
- <p class="edit-link"><?php edit_post_link(); ?></p>
- </div>
- <div class="entry">
- <?php the_content(); ?>
- </div>
- <footer class="postmetadata">
- <?php the_tags('Tags: ', ', ', '<br />'); ?>
- Posted In: <?php the_category(', ') ?> |
- <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
- </footer>
- </article>
- </div>
- <?php endwhile; ?>
- <?php include (TEMPLATEPATH . '/_/inc/nav.php' ); ?>
- <?php else : ?>
- <h2>No Posts Found</h2>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement