query_posts() problems on a page
-
Hello. I’m new here as well as new to WordPress. I’m having a bit of a problem here, I’ll try to explain.
I’m using WordPress as a CMS. I want to display blog posts on a “page” rather than the default. So, I’ve my page created titled “blog” which I’m using as a placeholder for the blog posts, as stated in the Codex. Now, in the blog.php file (in-charge of displaying posts) I’m using query_posts() post function.
[Code moderated as per the Forum Rules. Please use the pastebin]
I’ve posted 8 gibberish posts at the moment. The problem is, when I click the the “older entries” (<?php next_posts_link ?>), it still displays 5 posts rather than displaying the remaining 3 of the them.
So, any suggestions on how to fix this issue? Any help would be deeply appreciated.
Thnkas
The topic ‘query_posts() problems on a page’ is closed to new replies.