Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $postCounter = 1
- while ( $sliderQuery->have_posts() && $postCounter <= $postsToPrint) {
- $sliderQuery->the_post();
- $postCounter++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement