group posts with the same date
-
I am having a little trouble with the loop.. at least that is where I think my trouble lies. In short, I want to group posts that are of the same date. I figured it would be easy.. but, i can’t seem to get it to work.
ascii-graphically, this is basically what i want to do:
|————————|
|x date 1
|x
|x|…………………||
|x|time (post 1)
|x|
|x|
|x|…………………||
|x
|x|…………………||
|x|time (post 2)
|x|
|x|
|x|…………………||
|————————|
|————————|
|x date 2
|x
|x|…………………||
|x|time (post 1)
|x|
|x|
|x|…………………||
|————————|where the “x”‘s make up a (hopefuly!?) a single block element ~20px wide.. the problem as I see it is that there is no way to know how big it needs to be in the begining of the loop (assumed that is where it would need to be placed)!?
I have tried a number of different approaches, but they have ended in failure. :S
Is there anyone who has done this who could give me some kindly nudges in the right direction?
- The topic ‘group posts with the same date’ is closed to new replies.