Hi. Sorry, this is a sloppy title. Couldn’t word it better, unfortunately.
I’ll start off by posting this explanatory image so it doesn’t get too confusing, because the essence of my problem is quite simple: picture
Anyway, all my blog posts get divided as either “Today”, “Yesterday” or “the_date”. The dividing produces groups of posts under the title of the division (which is either Today, yesterday or the_date). I want these groups to be separated by borders, in my current solution I have assigned top borders for all the titles (through #post), but this also assigns a top border to the first entry of the group, which I don’t like. How would I remove the top border from the first entries of these categories? There’s also the problem of a single entry. I would love if a single entry didn’t have neither top nor bottom borders.
The loop: http://pastebin.com/k1XqRhY9
I should add that all out of the box solutions are welcome. Thanks in advance for your for your help and effort!
- The topic ‘Different first post for each chronically divided post group (i.e Today…)’ is closed to new replies.