I don’t need a script that checks the page itself, WordPress already has a php code that does that. I’m looking for something more specific that pulls the timestamp for different custom fields on the page.
I’m trying to keep it real simple here. Just looking for a way to pull the timestamp for custom fields. If the custom field was added, edited or modified on today’s date, then instead of outputting date format it would output and display as “today”. That way can I use that outputted text as a css class. If the div has the class of “today” then it would display something a little different to signify that it is new.