Support » Themes and Templates » displaying all the posts of the day on the index page

  • Resolved Gardens



    I modified my index page, so that all the posts of the day are displayed, listed by categories.

    If you want to see what it looks like, it’s here:

    But my problem is that I only get 10 posts displayed.

    I won’t have a lot of posts everyday, maximum 15 posts, but I’d like to have them all on the index page. So that instead of writing : “Today’s last 10 posts”, I could write “Today’s last posts”.

    I’m using the query_posts function, to only display the posts of the day.

    I tried to add the parameter show_posts, with a high value, but it isn’t working.

    Here is what I did :


    But I always have 10 posts displayed.

    Can anybody help me with that ? That would be great !


Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi everybody,

    I finally found the answer : it was a configuration problem.

    If someone has this problem one day, here’s what you have to do :

    Go to “Options” > “Reading” and there, you can change the maximum number of posts displayed on the first page.

    Now my index is exactly like I wanted it. 🙂

    That’s great. Thanks.
    I just started using WP. I’m sure a lot of newbies will want to do the same thing you described.
    Although you may want to make sure you don’t have too many links on one page. According to Google’s webmaster guidelines, they recommend you keep your links to about 100 per page. Although I’ve seen plenty of high ranking pages with hundreds of links…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘displaying all the posts of the day on the index page’ is closed to new replies.