how to use query post
-
i used this code to query post in certain category.php
<?php query_posts(‘offset=1’); if (have_posts()) : while (have_posts()) : the_post(); ?>
because i want to display all post in that category minus the last post, but the problem is when i go to page 2 the content not changing (still the same with page 1)
does anyone can solve this..thanks in advance
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘how to use query post’ is closed to new replies.