• Enix

    (@enix)


    Hi people.
    I really need your help on this one.

    I would like to display on top of the page the date, and on that page all the posts i have written that day.

    Form example: page: 03/ header: 05.02.2011 / no of posts: 8
    page: 02/ header: 04.02.2011 / no of posts: 6
    page: 01/ header: 03.02.2011 / no of posts: 11

    How do i do that? Do i create a category for every date.
    And use to display every post for that category on a single page?

    Any suggestion is welcome! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Enix

    (@enix)

    I have fount that replacing the_time with the_date does the trick for posts on the same day. – it appears only once

    Now how do I group posts by date, every date with it’s singlepage?

    ?Do i create a category for every date.
    And use to display every post for that category on a single page?

    Any suggestion is welcome! Thanks!

    Michael

    (@alchymyth)

    https://pastebin.com/5F1tGhRV

    this is based on a modified kubrick default; try to extract the basics.
    also, i have no idea how hard this is on the resources.

    the principle:
    – get all the different dates where posts were published, into an array. (might be better if you an find somebody to turn this into a direct database query)

    – depending on the ‘paged’ value, pick the date and use query_posts() to get all posts of that date;

    – add navi to ‘next date/prev date’ at the bottom.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different number of posts per page by date’ is closed to new replies.