Styling the loop chronologically
-
I want to output the title, preview image and an except from the latest X number of posts onto the front page of a site i’m building which is fairly common, is it possible to configure the loop so that the most recent post gets a certain styling, then the 2nd most recent gets a certain styling, then the third and onwards gets another styling.
I want to do this programmatically in the loop so no extra information needs to be added to the post for example no extra categories, or custom fields
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Styling the loop chronologically’ is closed to new replies.