query_posts and paging
-
I’ve seen several threads which appear to address this topic, yet don’t seem to apply to my situation.
Briefly: I have a page that displays all posts from a given category (in this case Announcements). I thought I had it done by simply creating a custom “announcements.php” page template containing a
query_posts("cat=1");
right before The Loop, and then assigning my “Announcements” page to it.All seemed well until I tried the “Next Page” link and then I just got a blank page. The URI of the initial page with posts on it is:
https://www.mysite.com/wp/?page_id=55
and when I click the “Next page” link I get:
https://www.mysite.com/wp/?page_id=55&paged=2
and all should be good, but I get a blank page instead.
Any ideas out there?
- The topic ‘query_posts and paging’ is closed to new replies.