We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Adding something if entry within last week

Richard Noakes March 31, 2015 by Richard Noakes

Just wondered if anybody cleverer than me (mostly everybody) could think of a way to add a class or an icon to entries added within a week/month of current date?

The idea was to mark new entries (displayed in a grid) as "new", entries are currently served up in random order. I am guessing this is a pure php solution?

Answered by Alex Armstrong!
>>>>>>> Answered <<<<<<<
6 Replies
2 Followers