Loop Help
-
What I am wanting to do and I’m not sure how is to include in my loop 10 excerpts on the page but I want to skip the most current 5. I know that I have to put a wp_query somewhere with a number of posts and an offset but I don’t know how to modify the current loop seen below to do that. Any help is appreciated.
<?php $theme->hook('content_before'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); get_template_part('post', 'homepage'); endwhile; else : get_template_part('post', 'noresults'); endif;
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Loop Help’ is closed to new replies.