How could I limit the number of posts in index.php ?
-
Hi There!
Here is a quick question that might be easy to answer for some of you:
I want to have only one Blogpost on the frontpage / usual blog view (as it is currently seen on fourfiveX.net) but I’d like the categories to feature 10 posts per page (as it can not be seen on the site).
I am currently using WPs standart ‘posts per page’ option.
I was also playing around with the “query posts” function in my themes index.php:
query_posts($_SERVER['QUERY_STRING'].'&showposts=1');
But I get strange errors from that, since the navigation (at the bottom of the page) doesn’t seem to care about the “showposts” parameter as used above. To me (not that experienced in WP development) it seems quite a mess troughout.
I’d love to hear suggestions, maybe even on themes that do similar stuff so I can just see how it’s done there.
Thanks for your time,
Tim
- The topic ‘How could I limit the number of posts in index.php ?’ is closed to new replies.