query_posts -> Page 2 looks the same as Page 1
-
Resolved
Hello,
new – but nevertheless happy – WordPress user here. ??
I read through some of the documentation and examples of how to use query_posts() to only retreive posts from a certain category from the database and have them displayed on the front page. Like everything else in WP, it works fine and was easy to set up. But…
If WP returns more than 10 pages and displays the “Next Page”/”Previous Page” links, the previous page, which should return older posts than those on the first page, shows the same pages as the first one.
I tried this in two different themes (Box-Set and the default WP theme) and it happened both times, so it doesn’t seem to be a problem with the theme I am using.
All I did was insert a “query_posts(‘cat=16’)” prior to the loop. Did I forget something?
Thanks in advance,
Thomas
- The topic ‘query_posts -> Page 2 looks the same as Page 1’ is closed to new replies.