The loop and pagination by date
-
I am trying to modify the homepage (specially the_loop and pagination). Instead of showing x number of posts per page, I would like to split posts by the date published.
Example:
Say I have 13 posts total on my blog.
3 posts published on 1/1/2013
4 posts published on 1/5/2013
6 posts published on 4/6/2013The homepage will show 6 posts from 4/6/2013. The previous post link in pagination on homepage will link to a page that has 4 posts from 1/5/2013. The previous post link on this page would display 3 posts published on 1/1/2013.
Thanks
- The topic ‘The loop and pagination by date’ is closed to new replies.