Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (have_posts()) : ?>
- <?php if (($wp_query->post_count) > 1) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <?php the_excerpt() ?>
- <?php endwhile; ?>
- <?php else : ?>
- <?php while (have_posts()) : the_post(); ?>
- <?php the_excerpt() ?>
- <?php endwhile; ?>
- <?php endif; ?>
- <?php else : ?>
- <p>Nothing to see here.</p>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement