how can I have unlimited posts?
-
I need the following code to not be limited to 10 posts. it’s a self-populating gallery thumbnails page and I need all posts to be visible.
<?php $args = array('cat' => 6 ); $category_posts = new WP_Query($args); if($category_posts->have_posts()) : while($category_posts->have_posts()) : $category_posts->the_post();?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how can I have unlimited posts?’ is closed to new replies.